Có sẵn ngay
Google

gemini-embedding-001

Provides text embedding models for generating embeddings for words, phrases, sentences, and code. These foundational embeddings support advanced NLP tasks such as semantic search, classification, and clustering, offering more accurate and context-aware search results compared to keyword-based approaches. Building Retrieval Augmented Generation (RAG) systems is a common use case for embeddings. Embeddings play a crucial role in significantly enhancing model outputs, improving factual accuracy, coherence, and contextual richness. They enable efficient retrieval of relevant information from knowledge bases (represented as embeddings), which is then passed as additional background information in the input prompt to the language model, guiding it to generate more informed and accurate responses.

EmbeddingTools2K
Đầu vàoMiễn phí
Đầu raMiễn phí
LoạiEmbedding
Endpointembedding

Hiệu năng

Đang tải dữ liệu hiệu năng...
§ 01

Giá cả

Giá đầu vào$0.00 · 1 triệu token
Giá đầu ra$0.00 · 1 triệu token
Cửa sổ ngữ cảnh2K token
Endpoint tương thíchembedding
Nhà cung cấpGoogle
§ 02

Gọi gemini-embedding-001 từ mã của bạn

Trỏ bất kỳ SDK tương thích OpenAI nào đến UnoRouter và yêu cầu mô hình theo tên. Thay YOUR_API_KEY bằng key thật từ bảng điều khiển của bạn.

bash
curl https://api.unorouter.ai/v1/chat/completions \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gemini-embedding-001",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Đăng nhập để tự động điền API key

§ 03

Câu hỏi thường gặp

gemini-embedding-001 có giá bao nhiêu mỗi 1 triệu token?

Đầu vào có giá $0.00 mỗi 1 triệu token, đầu ra $0.00 mỗi 1 triệu token. Tính phí theo từng token, không làm tròn theo kích thước lô.

Làm sao để truy cập gemini-embedding-001 qua API?

Gửi yêu cầu đến endpoint /v1/chat/completions của UnoRouter với model=gemini-embedding-001. Mọi thư viện client tương thích OpenAI đều hoạt động. Xác thực dùng token Bearer chuẩn.

Cửa sổ ngữ cảnh của gemini-embedding-001 là bao nhiêu?

gemini-embedding-001 hỗ trợ cửa sổ ngữ cảnh 2K token, chia sẻ giữa prompt của bạn và phản hồi của mô hình.

§ 04

Mô hình tương tự

Thử gemini-embedding-001 ngay

Tạo API key và bắt đầu gửi yêu cầu trong chưa đầy một phút.

Xem tất cả mô hình