Skip to content

[BUG]多轮对话提示词需优化 #1143

@hzhwyh0116

Description

@hzhwyh0116

SQLBot Version
v1.8.0

Run Mode
Is it running in a Docker container or running from source code?
Docker

Describe the bug
多轮对话不生效,模型使用的公共 Qwen-Max 模型

1、数据情况:

Image

2、第一次对话,问题:哪些店子支持外卖?
SQL 生成正确:

Image

3、第二次对话,问题:都分布在哪些城市?
期待正确的 SQL 应该是:支持外卖的店子都分布在哪些城市
实际返回的 SQL,没有理解上下文多轮问答,只处理了当前问题

Image

模型使用的公共的 Qwen-Max
在第二次对话的执行详情中有看到历史对话记录

Image

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions