GenerativeModelTasks Class

The GenerativeModelTasks class defines a set of constant task names used to interact with generative AI models. These tasks are used across various operations for processing and generating content, embeddings, and token analysis.

Definition

Namespace: GenerativeAI
Assembly: GenerativeAI (in GenerativeAI.dll) Version: 2.0.2+aa51399cad6d90cc71158d589a6268608b3c1893
C#
public class GenerativeModelTasks
Inheritance
Object    GenerativeModelTasks

Remarks

The constants in this class represent specific actions that can be performed using generative AI models. They are typically utilized in constructing API endpoints or specifying desired operations.

Constructors

GenerativeModelTasksInitializes a new instance of the GenerativeModelTasks class

Methods

EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)

Fields

See Also