'commit'
This commit is contained in:
@@ -143,11 +143,11 @@ async def main():
|
||||
|
||||
# 查询处理后的内容
|
||||
# 纯文本查询 - 基本知识库搜索
|
||||
text_result = await rag.aquery(
|
||||
"文档的主要内容是什么?",
|
||||
mode="hybrid"
|
||||
)
|
||||
print("文本查询结果:", text_result)
|
||||
# text_result = await rag.aquery(
|
||||
# "文档的主要内容是什么?",
|
||||
# mode="hybrid"
|
||||
# )
|
||||
# print("文本查询结果:", text_result)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
Reference in New Issue
Block a user