class

OpenAI::RunStepDeltaObject

Inherits JSON::Serializable < Reference < Object

Represents a run step delta i.e. any changed fields on a run step during streaming.

Constructors

new(id : String = "", object : RunStepDeltaObjectObject = RunStepDeltaObjectObject::ThreadRunStepDelta, delta : RunStepDeltaObjectDelta = RunStepDeltaObjectDelta.new)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

delta
Source
delta=(delta : RunStepDeltaObjectDelta)
Source
id

The identifier of the run step, which can be referenced in API endpoints.

Source
id=(id : String)

The identifier of the run step, which can be referenced in API endpoints.

Source
object

The object type, which is always thread.run.step.delta.

Source
object=(object : RunStepDeltaObjectObject)

The object type, which is always thread.run.step.delta.

Source