OpenAI embeddings

Relayed to an embeddings model as sent, apart from model. The model is named; auto is refused. Members other than model, input, dimensions, encoding_format and user are refused. Settled by the input tokens the provider reports.

post/v1/embeddings

Request

Headers

Idempotency-Keystring

Request body

modelstring required

An embeddings model enabled for the workspace.

inputunknown required
dimensionsinteger
encoding_format'float' | 'base64'
userstring

Recorded as the request's end user.

Response

The embeddings, as the provider answered with model replaced.

object required

Changes

No recorded changes to this operation across all 1 revision of this API.