Skip to content

EmbeddingRequest Class ​

Definition ​

Describes a single embedding operation passed to a provider or callback.

  • Namespace: JASE.Embeddings
  • Assembly: JASE.Embeddings.dll

Constructors ​

NameDescription
EmbeddingRequest(string text, EmbeddingRole role)Initializes a new EmbeddingRequest.

Properties ​

NameDescription
RoleGets whether the text is indexed content or a search query.
TextGets the text to embed.