OpenAI::WorkflowParam
Inherits JSON::Serializable < Reference < Object
Workflow reference and overrides applied to the chat session.
Constructors
new(pull : JSON::PullParser)
Sourcenew(id : String = "", version : String | Nil = nil, state_variables : Hash(String, Hash(String, JSON::Any)) | Nil = nil, tracing : WorkflowTracingParam | Nil = nil)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
state_variables
State variables forwarded to the workflow. Keys may be up to 64 characters, values must be primitive types, and the map defaults to an empty object.
State variables forwarded to the workflow. Keys may be up to 64 characters, values must be primitive types, and the map defaults to an empty object.
tracing
Optional tracing overrides for the workflow invocation. When omitted, tracing is enabled by default.
tracing=(tracing : WorkflowTracingParam | Nil)
Optional tracing overrides for the workflow invocation. When omitted, tracing is enabled by default.