You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using ChatData, the returned JSON is not in a qualified format, Causing inability to parse SQL.
What you expected to happen
Return the correct JSON format
How to reproduce
Create container with AutoDL Images, version is: eosphoros-ai/DB-GPT/dbgpt:v0.5.10
Import my MySQL datasource.
Use chatdata module.
Return incorrect JSON format
Additional context
2024-09-18 10:10:47 autodl-container-a1364fba4b-1ef9d419 dbgpt.app.scene.chat_db.auto_execute.out_parser[1278] ERROR json load failed:{ "thoughts ": "There are several validation rules to be included in this system. "sql ": "SELECT COUNT(*) AS total_rules FROM audit_rules WHERE status='active' "}
Are you willing to submit PR?
Yes I am willing to submit a PR!
The text was updated successfully, but these errors were encountered:
Search before asking
Operating system information
Linux
Python version information
DB-GPT version
main
Related scenes
Installation Information
Installation From Source
Docker Installation
Docker Compose Installation
Cluster Installation
AutoDL Image
Other
Device information
镜像: eosphoros-ai/DB-GPT/dbgpt:v0.5.10
GPU: RTX 4090D(24GB) * 1
CPU: 16 vCPU Intel(R) Xeon(R) Platinum 8481C
内存: 80GB
硬盘: 30 GB
Models information
LLM: qwen2-0.5b-instruct
What happened
When using ChatData, the returned JSON is not in a qualified format, Causing inability to parse SQL.
What you expected to happen
Return the correct JSON format
How to reproduce
Additional context
Are you willing to submit PR?
The text was updated successfully, but these errors were encountered: