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

Parse out sql from code block #157

Merged
merged 1 commit into from
Jan 17, 2024
Merged

Parse out sql from code block #157

merged 1 commit into from
Jan 17, 2024

Conversation

zainhoda
Copy link
Contributor

GPT-4 Turbo (i.e. gpt-4-1106-preview) tends to return the SQL inside a markdown code block. This adds a method to the base class to parse out the SQL from the code block.

@zainhoda zainhoda merged commit 5cb92f4 into main Jan 17, 2024
1 check passed
@zainhoda zainhoda linked an issue Jan 17, 2024 that may be closed by this pull request
@zainhoda zainhoda deleted the extract-and-validate-sql branch January 17, 2024 18:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant