View Source ExOpenAI.Components.RunStepStreamEvent (ex_openai.ex v1.7.0)
Schema representing a RunStepStreamEvent within the OpenAI API
Use any of these components: [%{"data" => {:component, "RunStepObject"}, "event" => {:enum, [:"thread.run.step.created"]}}, %{"data" => {:component, "RunStepObject"}, "event" => {:enum, [:"thread.run.step.in_progress"]}}, %{"data" => {:component, "RunStepDeltaObject"}, "event" => {:enum, [:"thread.run.step.delta"]}}, %{"data" => {:component, "RunStepObject"}, "event" => {:enum, [:"thread.run.step.completed"]}}, %{"data" => {:component, "RunStepObject"}, "event" => {:enum, [:"thread.run.step.failed"]}}, %{"data" => {:component, "RunStepObject"}, "event" => {:enum, [:"thread.run.step.cancelled"]}}, %{"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" }