更新测试案例

This commit is contained in:
binary-husky
2023-06-01 00:03:27 +08:00
parent 61b0e49fed
commit a1b7a4da56
2 changed files with 4 additions and 4 deletions

View File

@ -162,14 +162,14 @@ def test_Markdown多语言():
def test_Langchain知识库():
from crazy_functions.Langchain知识库 import 知识库问答
txt = "README.md"
txt = "./"
chatbot = ChatBotWithCookies(llm_kwargs)
for cookies, cb, hist, msg in silence_stdout(知识库问答)(txt, llm_kwargs, plugin_kwargs, chatbot, history, system_prompt, web_port):
cli_printer.print(cb) # print(cb)
chatbot = ChatBotWithCookies(cookies)
from crazy_functions.Langchain知识库 import 读取知识库作答
txt = "摘要"
txt = "What is the installation method"
for cookies, cb, hist, msg in silence_stdout(读取知识库作答)(txt, llm_kwargs, plugin_kwargs, chatbot, history, system_prompt, web_port):
cli_printer.print(cb) # print(cb)