Embeddings
Create text embeddings
Generates vector embeddings for single or multiple text inputs. Returns floating-point vectors along with token usage statistics.
POST
CSharp (SDK)
Authorizations
Body
application/json
Request parameters for creating embeddings. Generates vector representations of the input text(s).
The number of dimensions the resulting output embeddings should have. Ignored for a model with a fixed size, which always returns that size. For a model with a range it must lie within the range (embedding_dimension_range on GET /models/{model_id}), or the request fails with 400.
Required range:
1 <= x <= 9007199254740991Response
200 - application/json
OK
Response from the embeddings endpoint containing the generated embeddings and usage information.
CSharp (SDK)