Fix chroma get_all method (#1701)
This commit is contained in:
@@ -209,6 +209,5 @@ class ChromaDB(VectorStoreBase):
|
|||||||
Returns:
|
Returns:
|
||||||
List[OutputData]: List of vectors.
|
List[OutputData]: List of vectors.
|
||||||
"""
|
"""
|
||||||
array = [[0 for _ in range(1536)] for _ in range(1536)]
|
results = self.collection.get(where=filters, limit=limit)
|
||||||
results = self.collection.query(query_embeddings=array, where=filters, n_results=limit)
|
return [self._parse_output(results)]
|
||||||
return self._parse_output(results)
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[tool.poetry]
|
[tool.poetry]
|
||||||
name = "mem0ai"
|
name = "mem0ai"
|
||||||
version = "0.0.18"
|
version = "0.0.19"
|
||||||
description = "Long-term memory for AI Agents"
|
description = "Long-term memory for AI Agents"
|
||||||
authors = ["Mem0 <founders@mem0.ai>"]
|
authors = ["Mem0 <founders@mem0.ai>"]
|
||||||
exclude = [
|
exclude = [
|
||||||
|
|||||||
Reference in New Issue
Block a user