knownledge base answer fix

This commit is contained in:
csunny
2023-05-07 17:58:24 +08:00
parent 56e9cde86e
commit 55b3702aeb
3 changed files with 21 additions and 15 deletions

View File

@@ -158,6 +158,12 @@ conv_qa_prompt_template = """ 基于以下已知的信息, 专业、详细的回
default_conversation = conv_one_shot
conversation_types = {
"native": "LLM原生对话",
"default_knownledge": "默认知识库对话",
"custome": "新增知识库对话",
}
conv_templates = {
"conv_one_shot": conv_one_shot,
"vicuna_v1": conv_vicuna_v1,