EmbeddingRequestBuilder

Builder of EmbeddingRequest instances.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

The number of dimensions the resulting output embeddings should have.

Link copied to clipboard

Input text to get embeddings for, encoded as an array of token. Each input must not exceed 2048 tokens in length.

Link copied to clipboard

ID of the model to use.

Link copied to clipboard
var user: String?

A unique identifier representing your end-user, which will help OpenAI to monitor and detect abuse.

Functions

Link copied to clipboard

Create EmbeddingRequest instance.