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
ExtensionData
Fields returned by the API that this SDK does not model yet.
[JsonExtensionData]
public Dictionary<string, JsonElement>? ExtensionData { get; set; }
Property Value
PromptFeedback
Feedback on the input, e.g. when it was blocked.
[JsonPropertyName("prompt_feedback")]
public DecisionPromptFeedback? PromptFeedback { get; set; }
Property Value
Usage
Token usage.
[JsonPropertyName("usage")]
public InteractionUsage? Usage { get; set; }