Class Embedding

Embedding class

Represents an embedding vector returned by embedding endpoint.

public class Embedding

Constructors

NameDescription
Embedding()The default constructor.

Properties

NameDescription
EmbeddingList { get; set; }Gets or sets the embedding vector, which is a list of floats. The length of vector depends on the model as listed in the embedding guide.
Index { get; set; }Gets or sets the index of the embedding in the list of embeddings.
Object { get; set; }Gets or sets the object type, which is always “embedding”.

See Also