Vertex AI
Google Cloud Vertex AI serves Gemini and other models. Unstract authenticates to it with a Google Cloud service account key.
Getting started with Vertex AI
- In your Google Cloud project, enable the Vertex AI API.
- Create a service account and download its JSON key. Refer to the GCloud docs on creating service account credentials.
- Note your project ID and the model name you want to use.
Setting up Vertex AI in Unstract
- Sign in to the Unstract Platform.
- From the side navigation menu, choose
Settings🞂LLMs. - Click on the
New LLM Profilebutton. - From the list of LLMs, choose
Vertex AI. - Name — a unique name for this adapter instance.
- Credentials — paste the contents of your service account JSON key.
- Project — your Google Cloud project ID.
- Model — the Vertex AI model name (for example
gemini-2.0-flash). - Location — the Google Cloud region for the endpoint (for example
us-central1,global). Defaults tous-central1if left empty. - Safety Settings — optional per-category harm filters; each defaults to
BLOCK_ONLY_HIGH. - Enable Extended Thinking — for supported Gemini models; reveals a Thinking Budget Tokens field (use
-1for a dynamic budget). - Leave
Max RetriesandMax output tokensat their defaults. - Click on
Test Connectionand ensure it succeeds, then clickSubmit.