The VertexGemini model provides access to Google’s Gemini models hosted on Vertex AI.

ParameterTypeDefaultDescription
idstr"gemini-2.0-flash-exp"The specific model ID used for generating responses.
namestr"Gemini"The name identifier for the agent.
providerstr"VertexAI"The provider of the model.
function_declarationsOptional[List[FunctionDeclaration]]NoneA list of function declarations that the model can utilize during the response generation process.
generation_configOptional[Any]NoneConfiguration settings for the generation process, such as parameters for controlling output behavior.
safety_settingsOptional[Any]NoneSettings related to safety measures, ensuring the generation of appropriate and safe content.
generative_model_request_paramsOptional[Dict[str, Any]]NoneAdditional parameters for the generative model requests.
clientOptional[GenerativeModel]NoneA pre-configured instance of the Gemini client.