Table of Contents

Class UnknownDecisionAnswer

Namespace
GenerativeAI.Types
Assembly
GenerativeAI.dll

An answer whose type this SDK does not know; the raw JSON is kept.

public sealed class UnknownDecisionAnswer : DecisionAnswer
Inheritance
UnknownDecisionAnswer
Inherited Members
Extension Methods

Constructors

UnknownDecisionAnswer(string?, JsonNode)

Initializes a new instance of the UnknownDecisionAnswer class.

public UnknownDecisionAnswer(string? type, JsonNode raw)

Parameters

type string

The discriminator value, if any.

raw JsonNode

The raw JSON.

Properties

Raw

The raw JSON of the answer.

[JsonIgnore]
public JsonNode Raw { get; }

Property Value

JsonNode