feat: 准备实现知识库管理的功能
This commit is contained in:
@@ -21,7 +21,7 @@ def add_knowledge_route(app):
|
||||
Document(
|
||||
text=text,
|
||||
id=id_list[index],
|
||||
metadata={"kb_id": "abc"}
|
||||
metadata={"kb_id": "cde"}
|
||||
)
|
||||
for index, text in enumerate(text_list)
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user