Vertex AI Embedding
Google Cloud Vertex AI serves text embedding 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 embedding model name you want to use.
Setting up the Vertex AI Embedding model in Unstract
- Sign in to the Unstract Platform.
- From the side navigation menu, choose
Settings🞂Embedding. - Click on the
New Embedding Profilebutton. - From the list of Embeddings, 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 embedding model name.
- Location — the Google Cloud region for the endpoint (for example
us-central1,global). Defaults tous-central1if left empty. - Embed Mode — the embedding task type. See Vertex AI's task types documentation. Defaults to
default. - Leave
Max Retriesat its default. - Click on
Test Connectionand ensure it succeeds, then clickSubmit.