Class CreateDecisionRequest
- Namespace
- GenerativeAI.Types
- Assembly
- GenerativeAI.dll
Request body of POST /decisions: evaluates one or more structured decision questions (NOUL, choice or
score) against a shared Input.
public sealed class CreateDecisionRequest
- Inheritance
-
CreateDecisionRequest
- Inherited Members
- Extension Methods
Properties
ExtensionData
Additional body fields to send (for API features this SDK does not model yet).
[JsonExtensionData]
public Dictionary<string, JsonElement>? ExtensionData { get; set; }
Property Value
Input
Required. Shared input prefix evaluated once across all questions: a string, a content block (text, image, audio, video or document) or a list of content blocks.
[JsonPropertyName("input")]
public InteractionInput? Input { get; set; }
Property Value
Model
Required. The model used to evaluate the decisions (e.g. GeminiDecision1).
[JsonPropertyName("model")]
public string? Model { get; set; }
Property Value
Questions
Required. The questions to evaluate, keyed by caller-defined unique question identifiers (at least one).
[JsonPropertyName("questions")]
public Dictionary<string, DecisionQuestion>? Questions { get; set; }