Code Execution support for VertexAI #11471
Labels
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: feature request
‘Nice-to-have’ improvement, new feature or different behavior or design.
Problem
Currently we cannot use this library to tell VertexAI / Gemini to use CodeExecution as a tool to use.
Describe the solution you'd like
The
Tool
orGenerativeModel
should allow enabling tool use, for examplecom.google.cloud.vertexai.api.Tool.newBuilder().addCodeExecutionTool(
new CodeExecutionTool()
)
The text was updated successfully, but these errors were encountered: