EmbedContentRequestTaskType Property

Gets or sets the optional task type for which the embeddings will be used. Can only be set for models/embedding-001.

Definition

Namespace: GenerativeAI.Types
Assembly: GenerativeAI (in GenerativeAI.dll) Version: 2.0.2+aa51399cad6d90cc71158d589a6268608b3c1893
C#
public TaskType? TaskType { get; set; }

Property Value

NullableTaskType

See Also