Skip to content
New issue

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 #15

Open
lichaogit opened this issue Dec 23, 2024 · 1 comment
Open

模型返回了错误的SQL #15

lichaogit opened this issue Dec 23, 2024 · 1 comment

Comments

@lichaogit
Copy link

今天玩了下,用的是默认的gpt-3.5-turbo, 模型返回了错误的SQL.
比如:

USER INPUT: please list the tables

Step1: Retrieve all table names in the database
SELECT name FROM sqlite_master WHERE type = 'table';

Execute:

Database response:
SQL error: execute() first

Finish!

@lichaogit
Copy link
Author

曾经成功过一次,不过后面就一直出错, 用中文提问也出错

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant