Text To Embedding
text_to_embeddingGenerate text embeddings using AI models.
Converts text into vector embeddings for semantic search, similarity comparison, and other NLP tasks. Accepts a single string or a list of strings.
Available models:
Bge_M3_FP16: ≤8192 tokens/input
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": {
"input": "<input>"
},
"name": "text_to_embedding"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | Text string or list of text strings to embed | |
| model | No | Embedding model name (e.g., 'Bge_M3_FP16') | Bge_M3_FP16 |
| webhook_url | No | HTTPS URL for deAPI to call when this job finishes. Notifies your own systems; the tool still returns the result here | |
| webhook_secret | No | 32-255 char key deAPI signs the callback with (HMAC-SHA256). Needs webhook_url. A secret given in chat stays in the transcript | |
| return_result_in_response | No | Return embedding inline |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||