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

Added response format param #48

Merged
merged 3 commits into from
Aug 30, 2024
Merged

Added response format param #48

merged 3 commits into from
Aug 30, 2024

Conversation

jryu01
Copy link
Contributor

@jryu01 jryu01 commented Aug 28, 2024

Description

Added response format parameter to generate_response so that user can specify the response type.
e.g. response_format={"type": "json_object"}

@mwdchang this will help to make sure the chart annotation response from the llm is formatted in json.

Resolves #(issue)

@jryu01 jryu01 requested review from mwdchang and j2whiting August 28, 2024 18:12
@mwdchang mwdchang merged commit d510b56 into main Aug 30, 2024
@jryu01 jryu01 deleted the json-format branch August 30, 2024 17:49
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.

3 participants