llama-index-vector-stores-chroma 0.1.6__py3-none-any.whl → 0.1.8__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of llama-index-vector-stores-chroma might be problematic. Click here for more details.

@@ -116,6 +116,21 @@ class ChromaVectorStore(BasePydanticVectorStore):
116
116
  chroma_collection (chromadb.api.models.Collection.Collection):
117
117
  ChromaDB collection instance
118
118
 
119
+ Examples:
120
+ `pip install llama-index-vector-stores-chroma`
121
+
122
+ ```python
123
+ import chromadb
124
+ from llama_index.vector_stores.chroma import ChromaVectorStore
125
+
126
+ # Create a Chroma client and collection
127
+ chroma_client = chromadb.EphemeralClient()
128
+ chroma_collection = chroma_client.create_collection("example_collection")
129
+
130
+ # Set up the ChromaVectorStore and StorageContext
131
+ vector_store = ChromaVectorStore(chroma_collection=chroma_collection)
132
+ ```
133
+
119
134
  """
120
135
 
121
136
  stores_text: bool = True
@@ -311,7 +326,7 @@ class ChromaVectorStore(BasePydanticVectorStore):
311
326
  **kwargs,
312
327
  )
313
328
 
314
- logger.debug(f"> Top {len(results['documents'])} nodes:")
329
+ logger.debug(f"> Top {len(results['documents'][0])} nodes:")
315
330
  nodes = []
316
331
  similarities = []
317
332
  ids = []
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: llama-index-vector-stores-chroma
3
- Version: 0.1.6
3
+ Version: 0.1.8
4
4
  Summary: llama-index vector_stores chroma integration
5
5
  License: MIT
6
6
  Author: Your Name
@@ -11,7 +11,7 @@ Classifier: Programming Language :: Python :: 3
11
11
  Classifier: Programming Language :: Python :: 3.9
12
12
  Classifier: Programming Language :: Python :: 3.10
13
13
  Classifier: Programming Language :: Python :: 3.11
14
- Requires-Dist: chromadb (>=0.4.22,<0.5.0)
14
+ Requires-Dist: chromadb (>=0.4.0,<0.6.0)
15
15
  Requires-Dist: llama-index-core (>=0.10.1,<0.11.0)
16
16
  Description-Content-Type: text/markdown
17
17
 
@@ -0,0 +1,5 @@
1
+ llama_index/vector_stores/chroma/__init__.py,sha256=QNMK-nHKEt-wmks5mhWfdOKDybpmsqrL4neV-HCA6N4,101
2
+ llama_index/vector_stores/chroma/base.py,sha256=QJ8zN8PHjTxnMvDFB5H-7h-Th4ZaKwMfeSv7vkJrC24,13271
3
+ llama_index_vector_stores_chroma-0.1.8.dist-info/METADATA,sha256=nzGZu3W6bnlrDwuoIxHQ-k3nJ7jrB7xcPm7ryn7CuCU,653
4
+ llama_index_vector_stores_chroma-0.1.8.dist-info/WHEEL,sha256=d2fvjOD7sXsVzChCqf0Ty0JbHKBaLYwDbGQDwQTnJ50,88
5
+ llama_index_vector_stores_chroma-0.1.8.dist-info/RECORD,,
@@ -1,5 +0,0 @@
1
- llama_index/vector_stores/chroma/__init__.py,sha256=QNMK-nHKEt-wmks5mhWfdOKDybpmsqrL4neV-HCA6N4,101
2
- llama_index/vector_stores/chroma/base.py,sha256=Ud2wDpl9BW3hszogWPIc-7UMiyEQBSBU7t3plR0Kdko,12753
3
- llama_index_vector_stores_chroma-0.1.6.dist-info/METADATA,sha256=rfbYtH79YExjPx6Wd97IguyTl4A-qZgHARqfTTp4-3c,654
4
- llama_index_vector_stores_chroma-0.1.6.dist-info/WHEEL,sha256=d2fvjOD7sXsVzChCqf0Ty0JbHKBaLYwDbGQDwQTnJ50,88
5
- llama_index_vector_stores_chroma-0.1.6.dist-info/RECORD,,