Vertex AI is a platform offered by Google Cloud designed specifically for developing and deploying machine learning models. It provides a suite of services and tools to support the entire lifecycle of machine learning projects, from data processing and preparation to model development, deployment, and management in production.
For our connector, we have focused on the Gemini model. Gemini is an AI model, optimized for multimodal tasks, particularly processing visual and textual inputs. It enables functionalities such as
- visual understanding
- classification
- summarization
- and text generation based on images.
Note: For our simple "Cat-Use-Case" it does not make a difference using the Vertex-AI-Gemini-API or the Gemini-API directly.
- Use Vertex AI Gemini API if you rather would like to use the cloud based Google AI universe (BigDataQuery, ModelTraining and - deployment, Monitoring and logging).
- If you are looking for a rather flexible, low-cost and ease of use API than use the Gemini-API directly.
Go to Gemini: Gemini Online and create an API-key
Log in to Vertex Online with account
Search "vertex ai api" and enable it (Google Cloud will request billing account) in Model Garden Gemini-1.5 pro
"ADD Key" -> "Create new Key" -> "Json" -> Google Cloud automatically download a credential json file.
Select the modelName from: Vertex AI Gemini Model name
Select the Location from: Vertex AI Location/Region
Add the following Variables
to your variables.yaml
:
Variables.vertexai-gemini.projectId
Variables.vertexai-gemini.location
Variables.vertexai-gemini.modelName
Variables.vertexai-gemini.keyFilePath
Variables.gemini.apiKey
and replace the values with your given setup.