Class: Algolia::AgentStudio::ToolState
- Inherits:
-
Object
- Object
- Algolia::AgentStudio::ToolState
- Defined in:
- lib/algolia/models/agent-studio/tool_state.rb
Constant Summary collapse
- INPUT_STREAMING =
"input-streaming".freeze
- INPUT_AVAILABLE =
"input-available".freeze
- OUTPUT_AVAILABLE =
"output-available".freeze
- OUTPUT_ERROR =
"output-error".freeze
Class Method Summary collapse
- .all_vars ⇒ Object
-
.build_from_hash(value) ⇒ String
Builds the enum from string.
Instance Method Summary collapse
-
#build_from_hash(value) ⇒ String
Builds the enum from string.
Class Method Details
.all_vars ⇒ Object
16 17 18 |
# File 'lib/algolia/models/agent-studio/tool_state.rb', line 16 def self.all_vars @all_vars ||= [INPUT_STREAMING, INPUT_AVAILABLE, OUTPUT_AVAILABLE, OUTPUT_ERROR].freeze end |
.build_from_hash(value) ⇒ String
Builds the enum from string
23 24 25 |
# File 'lib/algolia/models/agent-studio/tool_state.rb', line 23 def self.build_from_hash(value) new.build_from_hash(value) end |