create_embeddings
Generate embeddings for text using the Grok API, specifying model, input, encoding format, and dimensions for accurate vector representations.
Instructions
Create embeddings for text with the Grok API
Input Schema
Name | Required | Description | Default |
---|---|---|---|
dimensions | No | The number of dimensions the resulting output embeddings should have | |
encoding_format | No | The format to return the embeddings in | |
input | Yes | Input text to get embeddings for | |
model | Yes | ID of the model to use | |
user | No | A unique user identifier |