embed_text
Generate OpenAI embeddings for text arrays to enable semantic search and document indexing in RAG pipelines.
Instructions
Generate OpenAI embeddings for an array of texts.
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 |