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] Make text computed property handle mixed-parts responses #12921

Merged
merged 1 commit into from
May 8, 2024

Conversation

andrewheard
Copy link
Contributor

  • Added support for responses that include both text and functionCall parts (or other content types in the future).
    • Note: Multiple text parts in a single response is theoretical at this time (may need to revisit the joining approach if the output doesn't match our expectations).
  • Also added a test for parallel function calling (multiple functionCall parts in one response).

This is a port of google-gemini/generative-ai-swift#165.

#no-changelog

@andrewheard andrewheard merged commit 5b82827 into release-10.26 May 8, 2024
42 checks passed
@andrewheard andrewheard deleted the ah/vertex-mixed-content branch May 8, 2024 20:59
@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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants