text-embedding-005 (asia-east1)

Google text-embedding-005 hosted on GCP Vertex AI in asia-east1.

Provider: All Google models | GCP Vertex AI

Inference regions: asia-east1

API Endpoint

https://api.openai.com/v1/embeddings

Quick Start (Python)

Install: pip install openai

from openai import OpenAI

client = OpenAI()

response = client.embeddings.create(
    model="text-embedding-005",
    input="What are the different services that you offer?",
)

print(response.data[0].embedding)

Supported Parameters

ParameterTypeDescription
inputstringInput text or array of texts to embed.
encoding_formatenumFormat for the returned embeddings. Default: float.
dimensionsintegerOptional shortened embedding dimension for supported models. (≥1)