-
Notifications
You must be signed in to change notification settings - Fork 0
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
Prompting Testing #61
Conversation
…faults to City_Landmarks, there is no logic to determining the proper table that is hard coded in. Adjusted get_schema_representation, no longer requrie parameter.
… for the user_input
…r table is returned. If not do not run second openai API call.
…API was success and returned proper SQL statement or resulted in error.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fails to start backend with these changes. Dont remove the venv file from gitignore & personally, i think yarn.lock should be kept in the file despite creating merge conflicts since it's usage is similar to package-lock.json and package.json
Please review the created SQL statements on the database. I will be continuing to fine-tune but want some feedback on how the SQL statements are performing. Thank you. I also added some error checking. This ensures that if a SQL statement is not successfully returned or the SQL statement flags SQL injection, direct the user to re-prompt page.