mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-06-08 15:05:17 +02:00
return store when calling faiss_store write
This commit is contained in:
parent
8cc8b80e49
commit
b1dda7c0ff
1 changed files with 1 additions and 0 deletions
|
|
@ -67,6 +67,7 @@ class FaissStore(LocalStore):
|
|||
|
||||
self.store = self._write(docs, metadatas)
|
||||
self.persist()
|
||||
return self.store
|
||||
|
||||
def add(self, texts: list[str], *args, **kwargs) -> list[str]:
|
||||
"""FIXME: 目前add之后没有更新store"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue