mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-10-04 16:46:57 +00:00
refactor: rag storage refactor (#2434)
This commit is contained in:
@@ -56,11 +56,13 @@ def _create_vector_connector():
|
||||
"""Create vector connector."""
|
||||
config = ChromaVectorConfig(
|
||||
persist_path=PILOT_PATH,
|
||||
name="embedding_api_rag_test",
|
||||
embedding_fn=_create_embeddings(),
|
||||
)
|
||||
|
||||
return ChromaStore(config)
|
||||
return ChromaStore(
|
||||
config,
|
||||
name="embedding_rag_test",
|
||||
embedding_fn=_create_embeddings(),
|
||||
)
|
||||
|
||||
|
||||
async def main():
|
||||
|
Reference in New Issue
Block a user