langchain/tests
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
..
integration_tests Chroma persistence (#1028) 2023-02-13 21:09:06 -08:00
unit_tests Import of declarative_base when SQLAlchemy <1.4 (#883) 2023-02-10 18:33:47 -08:00
__init__.py initial commit 2022-10-24 14:51:15 -07:00