共用方式為


Embedding<T> Class

Definition

Represents an embedding composed of a vector of T values.

generic <typename T>
public ref class Embedding sealed : Microsoft::Extensions::AI::Embedding
public sealed class Embedding<T> : Microsoft.Extensions.AI.Embedding
type Embedding<'T> = class
    inherit Embedding
Public NotInheritable Class Embedding(Of T)
Inherits Embedding

Type Parameters

T

The type of the values in the embedding vector.

Inheritance
Embedding<T>

Remarks

Typical values of T are Single, Double, or Half.

Constructors

Embedding<T>(ReadOnlyMemory<T>)

Initializes a new instance of the Embedding<T> class with the embedding vector.

Properties

AdditionalProperties

Gets or sets any additional properties associated with the embedding.

(Inherited from Embedding)
CreatedAt

Gets or sets a timestamp at which the embedding was created.

(Inherited from Embedding)
ModelId

Gets or sets the model ID using in the creation of the embedding.

(Inherited from Embedding)
Vector

Gets or sets the embedding vector this embedding represents.

Applies to