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

fix: openai wrapping text-to-sql query in markdown #324

Merged
merged 1 commit into from
Dec 18, 2024

Conversation

MasterOdin
Copy link
Contributor

PR modifies the system prompt that's used for text_to_sql to include not wrapping the returned query in markdown as ai.text_to_sql_openai often would. With this change, I found that both text_to_sql_anthropic and ai.text_to_sql_openai just return the SQL query and nothing else.

@MasterOdin MasterOdin requested a review from a team as a code owner December 18, 2024 22:12
@MasterOdin MasterOdin merged commit 4f530f2 into main Dec 18, 2024
5 checks passed
@MasterOdin MasterOdin deleted the mpeveler/fix-text2sql-openai branch December 18, 2024 23:08
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

Successfully merging this pull request may close these issues.

2 participants