Class: OpenAI::Models::Beta::ChatKit::ChatSessionWorkflowParam
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Beta::ChatKit::ChatSessionWorkflowParam
- Defined in:
- lib/openai/models/beta/chatkit/chat_session_workflow_param.rb,
sig/openai/models/beta/chatkit/chat_session_workflow_param.rbs
Defined Under Namespace
Modules: StateVariable Classes: Tracing
Instance Attribute Summary collapse
-
#id ⇒ String
Identifier for the workflow invoked by the session.
-
#state_variables ⇒ Hash{Symbol=>String, Boolean, Float}?
State variables forwarded to the workflow.
-
#tracing ⇒ OpenAI::Models::Beta::ChatKit::ChatSessionWorkflowParam::Tracing?
Optional tracing overrides for the workflow invocation.
-
#version ⇒ String?
Specific workflow version to run.
Attributes inherited from Internal::Type::BaseModel
Class Method Summary collapse
Instance Method Summary collapse
- #initialize ⇒ Object constructor
- #to_hash ⇒ {
Methods inherited from Internal::Type::BaseModel
==, #==, #[], #_request_id, #_set_last_response, coerce, #deconstruct_keys, #deep_to_h, dump, #encode_with, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, coerce_with_error, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize ⇒ Object
32 |
# File 'sig/openai/models/beta/chatkit/chat_session_workflow_param.rbs', line 32
def initialize: (
|
Instance Attribute Details
#id ⇒ String
Identifier for the workflow invoked by the session.
12 |
# File 'lib/openai/models/beta/chatkit/chat_session_workflow_param.rb', line 12 required :id, String |
#state_variables ⇒ Hash{Symbol=>String, Boolean, Float}?
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.
19 20 21 22 23 24 |
# File 'lib/openai/models/beta/chatkit/chat_session_workflow_param.rb', line 19 optional( :state_variables, -> { OpenAI::Internal::Type::HashOf[union: OpenAI::Beta::ChatKit::ChatSessionWorkflowParam::StateVariable] } ) |
#tracing ⇒ OpenAI::Models::Beta::ChatKit::ChatSessionWorkflowParam::Tracing?
Optional tracing overrides for the workflow invocation. When omitted, tracing is enabled by default.
31 |
# File 'lib/openai/models/beta/chatkit/chat_session_workflow_param.rb', line 31 optional :tracing, -> { OpenAI::Beta::ChatKit::ChatSessionWorkflowParam::Tracing } |
#version ⇒ String?
Specific workflow version to run. Defaults to the latest deployed version.
37 |
# File 'lib/openai/models/beta/chatkit/chat_session_workflow_param.rb', line 37 optional :version, String |
Class Method Details
.variants ⇒ Array(String, Boolean, Float)
|
|
# File 'lib/openai/models/beta/chatkit/chat_session_workflow_param.rb', line 62
|
Instance Method Details
#to_hash ⇒ {
39 |
# File 'sig/openai/models/beta/chatkit/chat_session_workflow_param.rbs', line 39
def to_hash: -> {
|