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
大模型输出的sql不稳定,时间条件不满足prompt中的要求下,字段名称修正的时候能否兼容这类问题? 如将下述的“年份=2018”修正为“YEAR (数据日期)”? 补充,本例对接的大模型是qwen1.5 32B
“年份”修正为“YEAR (数据日期)” “月份”修正为“MONTH (数据日期)” “日”修正为“DAY (数据日期)”
The text was updated successfully, but these errors were encountered:
这个会比较tricky,也不太清楚大模型会幻觉成“年份”、“年”等术语表达。是不是可以先尝试修改prompt,给一些更明确的指令说明。在下个版本会支持在助理层面配置自定义prompt
Sorry, something went wrong.
jerryjzhang
No branches or pull requests
Search before asking
Description
大模型输出的sql不稳定,时间条件不满足prompt中的要求下,字段名称修正的时候能否兼容这类问题?
如将下述的“年份=2018”修正为“YEAR (数据日期)”?
补充,本例对接的大模型是qwen1.5 32B
Solution
“年份”修正为“YEAR (数据日期)”
“月份”修正为“MONTH (数据日期)”
“日”修正为“DAY (数据日期)”
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: