Just wondering if anybody has successfully used Chroma instead of something like Pinecone or Supabase … maybe by using the Langchain code node?
It looks like your topic is missing some important information. Could you provide the following if applicable.
- n8n version:
- Database (default: SQLite):
- n8n EXECUTIONS_PROCESS setting (default: own, main):
- Running n8n via (Docker, npm, n8n cloud, desktop app):
- Operating system:
Hey @lexgabrees,
I am not aware of anyone doing it but you never know someone may reply who has it working. It may be worth popping in a feature request for Chroma support if that is something you would rather use.
Hey @lexgabrees
Check out my tutorial on doing exactly this but for Redis: Using Redis VectorStore Search in n8n
It’s the same steps. you just need to replace the Redis client with the ChromaDB client following the official docs: Chroma | 🦜️🔗 Langchain
Hope this helps!
I was using chroma, but I switched over to Zep when they added vector stores. If I remember correctly it was a similar setup. Here’s my code node setup to connect to my zep account:
const Zep = require('@getzep/zep-js');
const ZepClient = Zep.ZepClient;
const client = await ZepClient.init("http://127.0.0.1:8000", "{{key_here}}");
//Example function
const collection = await client.document.addCollection({
name: {{name}},
embeddingDimensions: {{embeddingDimensions}},
isAutoEmbedded: [false/true],
});
return collection;
Hope it helps!
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.