spraay_compute_embeddings
Generate text embeddings for retrieval-augmented generation, semantic search, and clustering. Each request costs $0.005 USDC.
Instructions
Generate text embeddings via Spraay Compute. For RAG, semantic search, clustering. Costs $0.005 USDC.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | Text string or array of strings to embed | |
| model | No | Embedding model (default 'auto') | auto |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | True when the gateway call succeeded; false when it returned an error. | |
| data | No | The gateway response payload on success. The exact shape depends on the tool (see the tool description and the JSON in the text content block). | |
| error | No | Human-readable error message, present only when ok is false. |