Table of Contents

Class CreateDecisionResponse

Namespace
GenerativeAI.Types
Assembly
GenerativeAI.dll

Response of POST /decisions.

public sealed class CreateDecisionResponse
Inheritance
CreateDecisionResponse
Inherited Members
Extension Methods

Properties

Answers

The answers, keyed by the question identifiers of the request.

[JsonPropertyName("answers")]
public Dictionary<string, DecisionAnswer>? Answers { get; set; }

Property Value

Dictionary<string, DecisionAnswer>

ExtensionData

Fields returned by the API that this SDK does not model yet.

[JsonExtensionData]
public Dictionary<string, JsonElement>? ExtensionData { get; set; }

Property Value

Dictionary<string, JsonElement>

PromptFeedback

Feedback on the input, e.g. when it was blocked.

[JsonPropertyName("prompt_feedback")]
public DecisionPromptFeedback? PromptFeedback { get; set; }

Property Value

DecisionPromptFeedback

Usage

Token usage.

[JsonPropertyName("usage")]
public InteractionUsage? Usage { get; set; }

Property Value

InteractionUsage