This is a short step by step guide how to set up Gemini models through Google Vertex.
Enable the Vertex AI API in your Google Cloud Platform.
Go to “Service Accounts” in the Google Cloud Console IAM Settings
Click on “Create Service Account”
Give the Service Account a name
Copy the “private_key” attribute into the “API Secret” field in the Langdock Models page (for example: -----BEGIN PRIVATE KEY----- {{ private key }} -----END PRIVATE KEY-----\n
)
Copy the “client_email” attribute into the “Endpoint” field in Langdock
Use a model ID from the Vertex portal (eg. gemini-1.5-flash-001
or gemini-1.5-pro-001
)