Google
Gemini Embedding
Gemini Embedding is a demonstration listing for embedding workflows.
You send text. It returns embeddings. It keeps 8k of context.
- embeddings
- embedding
- Context
- 8k
- Input
- text
- Output
- embeddings
- Latency
- balanced
- Status
- available
Same request. This model.
Keep the client you already use. The model id is the only line that changes.
const vectors = await client.embeddings.create({
model: "gemini-embedding",
input: "Route this document.",
});