Create embeddings
create_embeddingGenerates embedding vectors from text or token arrays for semantic search, clustering, and similarity tasks. Specify a model and input to obtain numerical representations.
Instructions
Creates an embedding vector representing the input text.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user | No | End-user identifier | |
| input | Yes | Input text(s) or token array(s) to embed. | |
| model | Yes | ID of the model to use | |
| dimensions | No | Output vector dimensions | |
| encoding_format | No | Output format | float |
| X-TokenLab-Delivery-Policy | No | Per-request Delivery policy. Overrides the API key and Workspace defaults. Auto tries TokenLab Veri… |