text-embedding-3-large。
核心能力
- 文字向量 - 將文字轉換為數值向量
- 批次輸入 - 支援字串或字串陣列
- 相似度任務 - 可用於檢索與分群
快速範例
- cURL
- Python
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Text Embedding 3 Large:文字向量模型。包含 MixRoute 呼叫範例與參數。
text-embedding-3-large。
curl "https://api.mixroute.ai/v1/embeddings" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "text-embedding-3-large",
"input": "MixRoute model API"
}'
import requests
response = requests.post(
"https://api.mixroute.ai/v1/embeddings",
headers={"Authorization": "Bearer YOUR_API_KEY"},
json={'model': 'text-embedding-3-large', 'input': 'MixRoute model API'},
)
print(response.json())
| 參數 | 類型 | 必填 | 說明 |
|---|---|---|---|
model | string | 是 | 固定為 text-embedding-3-large。 |
input | string | array | 是 | 需要向量化的文字或文字陣列。 |
dimensions | integer | 否 | 模型支援時指定輸出維度。 |
encoding_format | string | 否 | 向量編碼格式。 |