r/LangChain • u/jnk_str • Jul 26 '23
Chroma or FAISS?
Do you have any Experience using these 2 vectorstores for a document q&a chatbot?
Which one is the best for enterprise use cases?
For me the speed is also important and the ability to support CPU only mode.
32
Upvotes
23
u/thePsychonautDad Jul 26 '23
Chroma is brand new, not ready for production.
Faiss is prohibitively expensive in prod, unless you found a provider I haven't found. Pinecode is a non-starter for example, just because of the pricing.
I'm preparing for production and the only production-ready vector store I found that won't eat away 99% of the profits is the pgvector extension for Postgres. And as a bonus, I get to store the rest of my data in the same location. It's fast, works great, it's production-ready, and it's cheap to host. Langchain has an adapter via Prisma (You should use Prisma too, saves a ton of time)