SchemaEnum Property

Optional. Possible values of the element of Type.STRING with enum format. For example we can define an Enum Direction as: {type:STRING, format:enum, enum:["EAST", NORTH", "SOUTH", "WEST"]}

Definition

Namespace: GenerativeAI.Types
Assembly: GenerativeAI (in GenerativeAI.dll) Version: 2.0.2+aa51399cad6d90cc71158d589a6268608b3c1893
C#
public List<string>? Enum { get; set; }

Property Value

ListString

See Also