Module: OpenAI::Models::Beta::BetaResponseItem::AgentMessage::Content

Extended by:
Internal::Type::Union
Defined in:
lib/openai/models/beta/beta_response_item.rb

Overview

A content part that makes up an input or output item.

Defined Under Namespace

Classes: ComputerScreenshot, EncryptedContent, ReasoningText, SummaryText, Text

Instance Method Summary collapse

Methods included from Internal::Type::Union

==, ===, coerce, derefed_variants, dump, hash, inspect, to_sorbet_type, variants, variants

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, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Instance Method Details

#initialize(mode: :explicit) ⇒ Object

Marks the exact end of a reusable prompt prefix. The breakpoint inherits its TTL from the request's prompt_cache_options.ttl; the boundary is not rounded to a token block.

Parameters:

  • mode (Symbol, :explicit) (defaults to: :explicit)

    The breakpoint mode. Always explicit.



# File 'lib/openai/models/beta/beta_response_item.rb', line 203