Skip to content

[Vertex AI] Refactor function calling APIs #13873

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

Merged
merged 3 commits into from
Oct 11, 2024

Conversation

andrewheard
Copy link
Contributor

Refactored the function calling APIs to align with the other platforms. Specifically:

  • Made the Tool initializer internal in favour of a new new type method functionDeclarations(_:).
  • Made the FunctionCallingConfig initializer and FunctionCallingConfig.Mode enum internal in favour of type methods auto(), any(allowedFunctionNames:) and none() that return a FunctionCallingConfig.

@andrewheard andrewheard merged commit 3eaa04d into main Oct 11, 2024
38 checks passed
@andrewheard andrewheard deleted the ah/vertex-func-call-refactor branch October 11, 2024 00:02
MojtabaHs pushed a commit to MojtabaHs/firebase-ios-sdk that referenced this pull request Oct 17, 2024
@firebase firebase locked and limited conversation to collaborators Nov 10, 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