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] Update Citation decoding to handle optional startIndex #12832

Merged
merged 1 commit into from
Apr 22, 2024

Conversation

andrewheard
Copy link
Contributor

Updated Citation decoding to handle optional values for startIndex (defaults to 0 when omitted). This is a port of google-gemini/generative-ai-swift#135 and google-gemini/generative-ai-swift#141, where applicable (Vertex AI does not return "" when license is empty so this functionality was not copied).

#no-changelog

@andrewheard andrewheard merged commit b3ffeb1 into vertex-ai Apr 22, 2024
42 checks passed
@andrewheard andrewheard deleted the ah/vertex-ai-citations branch April 22, 2024 18:54
1998code pushed a commit to 1998code/firebase-ios-sdk that referenced this pull request May 14, 2024
@firebase firebase locked and limited conversation to collaborators May 23, 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