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

extract_sql has bug #718

Open
KWLShadow opened this issue Dec 3, 2024 · 0 comments
Open

extract_sql has bug #718

KWLShadow opened this issue Dec 3, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@KWLShadow
Copy link

if llm generate response was
LLM Response: intermediate_sql

SELECT XXX
SELECT XXX

when start extract_sql(self, llm_response: str) -> str
the answer will get
SELECT XXX

```sql
SELECT XXX

Will contain in the middle
An error is generated
Error running intermediate SQL: (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use……
@KWLShadow KWLShadow added the bug Something isn't working label Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant