Create embeddings
create_embeddingsConverts text into vector embeddings using a specified OpenAI model, enabling semantic search, clustering, and similarity comparison.
Instructions
Get vector embeddings for one or more pieces of text
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>",
"model": "<model>"
},
"name": "create_embeddings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | Text (or array of texts) to embed | |
| model | Yes | OpenAI model to use for embeddings |