Class InteractionStepDeltaData
- Namespace
- GenerativeAI.Types
- Assembly
- GenerativeAI.dll
The payload of a step.delta event, discriminated by type. Unknown delta types are read as
UnknownInteractionStepDeltaData.
[JsonConverter(typeof(InteractionStepDeltaDataConverter))]
public abstract class InteractionStepDeltaData
- Inheritance
-
InteractionStepDeltaData
- Derived
- Inherited Members
- Extension Methods
Constructors
InteractionStepDeltaData(string)
Initializes a new delta with the given discriminator.
protected InteractionStepDeltaData(string type)
Parameters
typestringThe
typediscriminator.
Properties
ExtensionData
Fields returned by the API that this SDK does not model yet.
[JsonExtensionData]
public Dictionary<string, JsonElement>? ExtensionData { get; set; }
Property Value
Signature
A signature hash for backend validation, on delta types that carry one.
[JsonPropertyName("signature")]
public string? Signature { get; set; }
Property Value
Type
The delta type (see InteractionDeltaTypes).
[JsonPropertyName("type")]
public string Type { get; }