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

[Vertex AI] Add responseMIMEType to GenerationConfig #12918

Merged
merged 1 commit into from
May 8, 2024

Conversation

andrewheard
Copy link
Contributor

Added a responseMIMEType parameter to the GenerationConfig constructor to allow configuration of the media type of the generated candidate text (e.g., "application/json" to produce JSON text). This is a port of google-gemini/generative-ai-swift#161.

#no-changelog

@andrewheard andrewheard requested a review from paulb777 May 8, 2024 18:46
@andrewheard andrewheard merged commit 3e44a2f into release-10.26 May 8, 2024
42 checks passed
@andrewheard andrewheard deleted the ah/vertex-ai-response-mime-type branch May 8, 2024 20:23
@firebase firebase locked and limited conversation to collaborators Jun 8, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants