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.
Performans
Fiyatlandırma
| Girdi fiyatı | $0.00 · 1M token |
| Çıktı fiyatı | $0.00 · 1M token |
| Context penceresi | 2K token |
| Uyumlu endpointler | embedding |
| Sağlayıcı |
gemini-embedding-001'i kodunuzdan çağırın
Herhangi bir OpenAI uyumlu SDK'yı UnoRouter'e yönlendirin ve modeli adıyla isteyin. YOUR_API_KEY'i dashboardunuzdaki gerçek bir anahtarla değiştirin.
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!"}]
}'Sık sorulan sorular
gemini-embedding-001 1M token başına ne kadar tutar?
Girdi 1M token başına $0.00, çıktı 1M token başına $0.00 fiyatlandırılır. Faturalandırma token başınadır, batch boyutlarına yuvarlama yoktur.
gemini-embedding-001'e API üzerinden nasıl erişirim?
UnoRouter /v1/chat/completions endpointine model=gemini-embedding-001 ile istek gönderin. Herhangi bir OpenAI uyumlu istemci kütüphanesi çalışır. Kimlik doğrulama standart Bearer token kullanır.
gemini-embedding-001'in context penceresi nedir?
gemini-embedding-001 isteminiz ile modelin yanıtı arasında paylaşılan 2K tokenlik bir context penceresini destekler.
Benzer modeller
gemini-embedding-001'i şimdi deneyin
Bir API anahtarı oluşturun ve bir dakikadan kısa sürede istek göndermeye başlayın.