Log in
Log into community
Find answers from the community
View all posts
Related posts
Did this answer your question?
๐
๐
๐
Powered by
Hall
Active
Updated 4 weeks ago
0
Follow
Retry sql query engine for error handling
Retry sql query engine for error handling
Active
0
Follow
d
dhiraj
4 weeks ago
ยท
Has someone created or has the knowledge of a RetrySQLQueryEngine? - the one which retries to generate proper sql statement if it errors out once?
W
d
3 comments
Share
Open in Discord
W
WhiteFang_Jr
edited 4 weeks ago
Not sure if there is, But I saw this workflow example for Text-2-sql which may help you with starting up in the same direction:
https://github.com/run-llama/llama_index/blob/main/docs/docs/examples/workflow/advanced_text_to_sql.ipynb
You can check if the query is correct or not , if not then reform it with another event inside the workflow and test again.
d
dhiraj
4 weeks ago
@WhiteFang_Jr - Thanks
d
dhiraj
4 weeks ago
i see that Workflows are being used a lot these days by
llama-index
....would need to explore them
Add a reply
Sign up and join the conversation on Discord
Join on Discord