合并Dev分支代码

This commit is contained in:
wanyaokun
2024-08-30 10:49:05 +08:00
parent e9ccd7db35
commit 73565b26e4
16 changed files with 486 additions and 409 deletions
+1 -3
View File
@@ -87,9 +87,7 @@ class PrivateFileService:
nodes = pipeline.run(documents=documents)
# Add the nodes to the index and persist it
indexs = get_index()
if len(indexs) > 0:
current_index = list(indexs.values())[0]
current_index = get_index()
# Insert the documents into the index
if isinstance(current_index, LlamaCloudIndex):