langchain/tests/integration_tests/vectorstores
Anton Troynikov d43d430d86
Chroma persistence (#1028)
This PR adds persistence to the Chroma vector store.

Users can supply a `persist_directory` with any of the `Chroma` creation
methods. If supplied, the store will be automatically persisted at that
directory.

If a user creates a new `Chroma` instance with the same persistence
directory, it will get loaded up automatically. If they use `from_texts`
or `from_documents` in this way, the documents will be loaded into the
existing store.

There is the chance of some funky behavior if the user passes a
different embedding function from the one used to create the collection
- we will make this easier in future updates. For now, we log a warning.
2023-02-13 21:09:06 -08:00
..
__init__.py add few shot example (#148) 2022-11-19 20:32:45 -08:00
fake_embeddings.py Harrison/milvus (#856) 2023-02-02 22:05:47 -08:00
test_chroma.py Chroma persistence (#1028) 2023-02-13 21:09:06 -08:00
test_elasticsearch.py Harrison/milvus (#856) 2023-02-02 22:05:47 -08:00
test_faiss.py Harrison/save faiss (#916) 2023-02-06 21:44:50 -08:00
test_milvus.py Harrison/milvus (#856) 2023-02-02 22:05:47 -08:00
test_pinecone.py Add pinecone integration test (#911) 2023-02-06 18:13:35 -08:00
test_qdrant.py Harrison/milvus (#856) 2023-02-02 22:05:47 -08:00