nv_embed
Convert texts into vector embeddings using NVIDIA's AI models. Select a model or use the default, and save the vectors to a file when needed.
Instructions
Embed texts. Returns shape and stats; write vectors to disk with save_to.
Args: texts: strings to embed. model: embedding model id. Defaults to the best available one. save_to: optional file path to write the vectors as JSON.
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": "nv_embed"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | ||
| texts | Yes | ||
| save_to | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |