-
Notifications
You must be signed in to change notification settings - Fork 192
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
chore(text_to_sql): various prompt eng tweaks and minor fixes #473
Conversation
jgpruitt
commented
Feb 12, 2025
•
edited
Loading
edited
- prompt engineering stuff mostly with openai
- minor bug fixes
}, | ||
"total": { | ||
"type": "integer", | ||
"minimum": 1, | ||
"maximum": 100, | ||
"default": 10, | ||
"description": "The total number of rows to return in the sample, the max is 10." |
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.
Can probably remove the max
bit in the description.
, tool_choice=> | ||
case when _iter_remaining = 0 then | ||
'{"type": "function", "function": {"name": "answer_user_question_with_sql_statement"}}' | ||
else 'required' | ||
end |
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.
Why not do this with at least anthropic as well?
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.
We should.
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.
left a comment, but looks good
955ce24
to
ce3be52
Compare