Text embeddings
embed_textConvert up to 100 texts into 1024-dimension vectors for semantic search, RAG, clustering, deduplication, and recommendations.
Instructions
Turn up to 100 texts (40,000 characters in all) into 1024-dimension embedding vectors (BGE-M3, 100+ languages) for semantic search, RAG, clustering, deduplication and recommendations. Costs $0.001 per call.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"texts": "<texts>"
},
"name": "embed_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| texts | Yes | Texts to embed, up to 100 and 40,000 characters in all, e.g. ["refund policy", "how do I get my money back?"]. |