Skip to main content

Overview

Use standard embeddings for independent text embedding (queries, documents, and semantic search) where each text is self-contained.

Models

Basic Usage

Generate embeddings for a list of texts:

Semantic Search Example

Build a simple semantic search system:

Parameters

Input limits: Each text must not exceed 32K tokens. Requests exceeding this limit will be rejected. All inputs in a single request must not exceed 120,000 tokens combined.

Contextualized Embeddings

Document-aware embeddings for chunks that share context.

Best Practices

Batch processing, caching, and RAG patterns.