We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
问题描述 / Problem Description libs/chatchat-server/chatchat/settings.py中的PromptSettings类:
preprocess_model: dict = { "default": ( "你只要回复0 和 1 ,代表不需要使用工具。以下几种问题不需要使用工具:\n" "1. 需要联网查询的内容\n" "2. 需要计算的内容\n" "3. 需要查询实时性的内容\n" "如果我的输入满足这几种情况,返回1。其他输入,请你回复0,你只要返回一个数字\n" "这是我的问题:" ), } """意图识别用模板"""
这里的“你只要回复0 和 1 ,代表不需要使用工具。”是个病句,是否应改为“你只要回复0 和 1 ,其中1代表不需要使用工具。”?
The text was updated successfully, but these errors were encountered:
可能我的理解有误,可能”返回1“代表不需要使用工具的三种情况,”返回0“代表不需要使用工具的其他情况。
Sorry, something went wrong.
反正也没用到,自己改改好了
原来是这样,谢谢!
No branches or pull requests
问题描述 / Problem Description
libs/chatchat-server/chatchat/settings.py中的PromptSettings类:
preprocess_model: dict = {
"default": (
"你只要回复0 和 1 ,代表不需要使用工具。以下几种问题不需要使用工具:\n"
"1. 需要联网查询的内容\n"
"2. 需要计算的内容\n"
"3. 需要查询实时性的内容\n"
"如果我的输入满足这几种情况,返回1。其他输入,请你回复0,你只要返回一个数字\n"
"这是我的问题:"
),
}
"""意图识别用模板"""
这里的“你只要回复0 和 1 ,代表不需要使用工具。”是个病句,是否应改为“你只要回复0 和 1 ,其中1代表不需要使用工具。”?
The text was updated successfully, but these errors were encountered: