mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-05-30 14:35:17 +02:00
upgrade langchain and simplify faiss load/save
This commit is contained in:
parent
322ac4aa40
commit
3b066b36cc
1 changed files with 1 additions and 1 deletions
|
|
@ -33,7 +33,7 @@ class LocalStore(BaseStore, ABC):
|
|||
raise FileNotFoundError
|
||||
self.config = Config()
|
||||
self.raw_data_path = raw_data_path
|
||||
self.fname = self.raw_data_path.name.split(".")[0]
|
||||
self.fname = self.raw_data_path.stem
|
||||
if not cache_dir:
|
||||
cache_dir = raw_data_path.parent
|
||||
self.cache_dir = cache_dir
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue