Class AiPromptChoice
One selectable option offered by a choice-kind AiPromptQuestion.
Inherited Members
Namespace: Serenity.Editor.AiPromptBuilder
Assembly: Serenity.AiPromptBuilder.Editor.dll
Syntax
public sealed class AiPromptChoice
Constructors
AiPromptChoice(string, string)
Declaration
public AiPromptChoice(string value, string label)
Parameters
| Type | Name | Description |
|---|---|---|
| string | value | |
| string | label |
Properties
Label
Declaration
public string Label { get; }
Property Value
| Type | Description |
|---|---|
| string | The human-readable text shown for this option. |
Value
Declaration
public string Value { get; }
Property Value
| Type | Description |
|---|---|
| string | The value stored in the AiPromptAnswerSheet when this option is selected. |