langchain/libs/partners/chroma/langchain_chroma
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 chroma: Add chroma partner package (#19292) 2024-04-10 19:33:45 +00:00
py.typed chroma: Add chroma partner package (#19292) 2024-04-10 19:33:45 +00:00
vectorstores.py chroma[patch]: Chroma - remove reference to collection upon delete_collection (#21817) 2024-05-20 15:42:36 -07:00