interface StepStop {
    event_id?: string;
    event_type: "step.stop";
    index: number;
    metadata?: StreamMetadata;
    step_usage?: Usage;
    usage?: Usage;
}

Hierarchy

  • StepStop$
    • StepStop

Properties

event_id?: string

The event_id token to be used to resume the interaction stream, from

this event.

event_type: "step.stop"
index: number
metadata?: StreamMetadata
step_usage?: Usage

Statistics on the interaction request's token usage.

usage?: Usage

Statistics on the interaction request's token usage.