Timothy Jaeryang Baek 2 月之前
父节点
当前提交
dbe5d1ca08
共有 1 个文件被更改,包括 0 次插入2 次删除
  1. 0 2
      backend/open_webui/retrieval/utils.py

+ 0 - 2
backend/open_webui/retrieval/utils.py

@@ -305,8 +305,6 @@ def get_sources_from_files(
 
 
     for file in files:
     for file in files:
         if file.get("docs"):
         if file.get("docs"):
-
-            print("file.get('docs')", file.get("docs"))
             context = {
             context = {
                 "documents": [[doc.get("content") for doc in file.get("docs")]],
                 "documents": [[doc.get("content") for doc in file.get("docs")]],
                 "metadatas": [[doc.get("metadata") for doc in file.get("docs")]],
                 "metadatas": [[doc.get("metadata") for doc in file.get("docs")]],