OpenResponsesDecodeEventContext
Namespace: Vercel.AI.OpenResponses
public sealed class OpenResponsesDecodeEventContextInput of DecodeEvent.
Inheritance: object
Constructors
Section titled “Constructors”OpenResponsesDecodeEventContext(JsonObject, IDictionary<string, object?>)
Section titled “OpenResponsesDecodeEventContext(JsonObject, IDictionary<string, object?>)”public OpenResponsesDecodeEventContext(JsonObject @event, IDictionary<string, object?> state)Creates the context.
Parameters
| Name | Type | Description |
|---|---|---|
event |
JsonObject | |
state |
IDictionary<string, object> |
Properties
Section titled “Properties”public JsonObject Event { get; }The event. It has a namespaced type and a numeric sequence_number.
Value: JsonObject
public IDictionary<string, object?> State { get; }State that lasts for one response stream.
Value: IDictionary<string, object>
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product