View Source ExOpenAI.Components.RunStepStreamEvent (ex_openai.ex v1.8.0)
Schema representing a RunStepStreamEvent within the OpenAI API
Use any of these components: [object: %{"data" => {:component, "RunStepObject"}, "event" => {:enum, [:"thread.run.step.created"]}}, object: %{"data" => {:component, "RunStepObject"}, "event" => {:enum, [:"thread.run.step.in_progress"]}}, object: %{"data" => {:component, "RunStepDeltaObject"}, "event" => {:enum, [:"thread.run.step.delta"]}}, object: %{"data" => {:component, "RunStepObject"}, "event" => {:enum, [:"thread.run.step.completed"]}}, object: %{"data" => {:component, "RunStepObject"}, "event" => {:enum, [:"thread.run.step.failed"]}}, object: %{"data" => {:component, "RunStepObject"}, "event" => {:enum, [:"thread.run.step.cancelled"]}}, object: %{"data" => {:component, "RunStepObject"}, "event" => {:enum, [:"thread.run.step.expired"]}}]
Summary
Types
@type t() :: %{ data: ExOpenAI.Components.RunStepObject.t(), event: :"thread.run.step.expired" } | %{ data: ExOpenAI.Components.RunStepObject.t(), event: :"thread.run.step.cancelled" } | %{ data: ExOpenAI.Components.RunStepObject.t(), event: :"thread.run.step.failed" } | %{ data: ExOpenAI.Components.RunStepObject.t(), event: :"thread.run.step.completed" } | %{ data: ExOpenAI.Components.RunStepDeltaObject.t(), event: :"thread.run.step.delta" } | %{ data: ExOpenAI.Components.RunStepObject.t(), event: :"thread.run.step.in_progress" } | %{ data: ExOpenAI.Components.RunStepObject.t(), event: :"thread.run.step.created" }