-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
FirebaseVertexAI Properties in Object Schema not accepting all Schema types #13977
Comments
I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight. |
Hi @pauze, sorry for the delay in getting back to you. I've been able to reproduce the issue and have let the backend team know about the regression. In case this is blocking you, I created PR #13990. The branch Thanks for providing code snippets and details about the types you tried. It made it easy to reproduce on my end. And sorry for the trouble, I'll keep this issue open until it's resolved in the backend or if we decide to to merge the workaround for Firebase 11.5. |
Perfect, thanks for the update. I'll keep my eyes open for the release :) |
Hi @pauze, although we have an update coming very soon to prevent regressions, this is actually already fixed in the backend. I'll wait until the release goes out to close this but no need to do anything different, should just work now on the current version of the SDK. Thanks for your patience with getting this resolved! |
That's great thank you! 🙌 |
No problem! Just let us know if there's anything else. https://github.com/firebase/firebase-ios-sdk/releases/tag/11.5.0 is now available too. |
Description
I'm trying to supply Object schema to VertexAI with some basic properties.
However when I send this schema to the generative model I get the following error:
If I change duration to be of type
.integer()
then I get back a successful response. I've only tested a handful of types but so far.double()
and.float()
are not working as expected.Reproducing the issue
Firebase SDK Version
11.4.0
Xcode Version
16.0
Installation Method
Swift Package Manager
Firebase Product(s)
VertexAI
Targeted Platforms
iOS
Relevant Log Output
If using Swift Package Manager, the project's Package.resolved
Expand
Package.resolved
snippetReplace this line with the contents of your Package.resolved.
If using CocoaPods, the project's Podfile.lock
Expand
Podfile.lock
snippetReplace this line with the contents of your Podfile.lock!
The text was updated successfully, but these errors were encountered: