langchain/libs/partners/chroma/tests/integration_tests
Trayan Azarov f54cbf8ff5
chroma[patch]: Chroma - remove reference to collection upon delete_collection (#21817)
**Description**:

- Reference to `Collection` object is set to `None` when deleting a
collection `delete_collection()`
- Added utility method `reset_collection()` to allow recreating the
collection
- Moved collection creation out of `__init__` into
`__ensure_collection()` to be reused by object init and
`reset_collection()`
- `_collection` is now a property to avoid breaking changes

**Issues**: 

- chroma-core/chroma#2213

**Twitter**: @t_azarov
2024-05-20 15:42:36 -07:00
..
__init__.py
fake_embeddings.py
test_compile.py
test_vectorstores.py chroma[patch]: Chroma - remove reference to collection upon delete_collection (#21817) 2024-05-20 15:42:36 -07:00