Class: OxAiWorkers::StateBatch
- Inherits:
-
ModuleRequest
- Object
- ModuleRequest
- OxAiWorkers::StateBatch
- Extended by:
- StateMachines::MacroMethods
- Includes:
- StateHelper
- Defined in:
- lib/oxaiworkers/state_batch.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#batch_id ⇒ Object
Returns the value of attribute batch_id.
-
#file_id ⇒ Object
Returns the value of attribute file_id.
Attributes inherited from ModuleRequest
#client, #custom_id, #errors, #max_tokens, #messages, #model, #result, #temperature, #tool_calls, #tool_calls_raw, #tools
Instance Method Summary collapse
Methods included from StateHelper
Methods inherited from ModuleRequest
#append, #initialize_requests, #not_found_is_ok, #params, #parse_choices
Instance Attribute Details
#batch_id ⇒ Object
Returns the value of attribute batch_id.
11 12 13 |
# File 'lib/oxaiworkers/state_batch.rb', line 11 def batch_id @batch_id end |
#file_id ⇒ Object
Returns the value of attribute file_id.
11 12 13 |
# File 'lib/oxaiworkers/state_batch.rb', line 11 def file_id @file_id end |
Instance Method Details
#cleanup ⇒ Object
54 55 56 57 58 |
# File 'lib/oxaiworkers/state_batch.rb', line 54 def cleanup @file_id = nil @batch_id = nil super() end |