mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-09-09 12:59:43 +00:00
chore: update create chroma store param (#2798)
This commit is contained in:
@@ -94,11 +94,9 @@ class HybridMemory(Memory, Generic[T]):
|
||||
vstore_path = vstore_path or os.path.join(DATA_DIR, "agent_memory")
|
||||
|
||||
vector_store = ChromaStore(
|
||||
ChromaVectorConfig(
|
||||
name=vstore_name,
|
||||
persist_path=vstore_path,
|
||||
embedding_fn=embeddings,
|
||||
)
|
||||
ChromaVectorConfig(persist_path=vstore_path),
|
||||
name=vstore_name,
|
||||
embedding_fn=embeddings,
|
||||
)
|
||||
return cls.from_vstore(
|
||||
vector_store=vector_store,
|
||||
|
Reference in New Issue
Block a user