Module: OpenAI::Models::Beta::Agents::AutomationTarget
- Extended by:
- Internal::Type::Union
- Defined in:
- lib/openai/models/beta/agents/automation_target.rb,
sig/openai/models/beta/agents/automation_target.rbs
Overview
Saved target configuration, excluding confidential request-only values.
Defined Under Namespace
Classes: ExistingSession, NewSession
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(content:, role: :user, type: :message) ⇒ Object
A user message recorded in a session.
Methods included from Internal::Type::Union
==, ===, coerce, derefed_variants, dump, hash, inspect, to_sorbet_type, variant_for_dump
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Methods included from Internal::Type::Converter
#coerce, coerce, coerce_cached, coerce_with_error, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, resolve_type, type_info
Class Method Details
.variants ⇒ Array(OpenAI::Models::Beta::Agents::AutomationTarget::NewSession, OpenAI::Models::Beta::Agents::AutomationTarget::ExistingSession)
|
|
# File 'lib/openai/models/beta/agents/automation_target.rb', line 147
|
Instance Method Details
#initialize(content:, role: :user, type: :message) ⇒ Object
A user message recorded in a session.
|
|
# File 'lib/openai/models/beta/agents/automation_target.rb', line 103
|