class

OpenAI::TaskGroupItem

Inherits JSON::Serializable < Reference < Object

Collection of workflow tasks grouped together in the thread.

Constructors

new(id : String = "", object : TaskGroupItemObject = TaskGroupItemObject::ChatkitThreadItem, created_at : Int64 = 0, thread_id : String = "", type_value : TaskGroupItemType = TaskGroupItemType::ChatkitTaskGroup, tasks : Array(TaskGroupTask) = [] of TaskGroupTask)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

created_at

Unix timestamp (in seconds) for when the item was created.

Source
created_at=(created_at : Int64)

Unix timestamp (in seconds) for when the item was created.

Source
id

Identifier of the thread item.

Source
id=(id : String)

Identifier of the thread item.

Source
object

Type discriminator that is always chatkit.thread_item.

Source
object=(object : TaskGroupItemObject)

Type discriminator that is always chatkit.thread_item.

Source
tasks

Tasks included in the group.

Source
tasks=(tasks : Array(TaskGroupTask))

Tasks included in the group.

Source
thread_id

Identifier of the parent thread.

Source
thread_id=(thread_id : String)

Identifier of the parent thread.

Source
type_value

Type discriminator that is always chatkit.task_group.

Source
type_value=(type_value : TaskGroupItemType)

Type discriminator that is always chatkit.task_group.

Source