Class: OpenAI::Models::Responses::IncrementalResponse
- Inherits:
-
Object
- Object
- OpenAI::Models::Responses::IncrementalResponse
- Defined in:
- sig/openai/helpers/responses_websocket/incremental.rbs
Instance Attribute Summary collapse
-
#phase ⇒ :provisional, ...
readonly
Returns the value of attribute phase.
Instance Method Summary collapse
- #add ⇒ void
- #detailed_snapshot ⇒ Hash[Symbol, untyped]?
-
#initialize ⇒ IncrementalResponse
constructor
A new instance of IncrementalResponse.
- #output ⇒ Array[(response_output_item | Hash[Symbol, untyped])]?
- #reset ⇒ void
- #terminal_event ⇒ connection_server_event?
Constructor Details
#initialize ⇒ IncrementalResponse
Returns a new instance of IncrementalResponse.
6 |
# File 'sig/openai/helpers/responses_websocket/incremental.rbs', line 6
def initialize: -> void
|
Instance Attribute Details
#phase ⇒ :provisional, ... (readonly)
Returns the value of attribute phase.
5 6 7 |
# File 'sig/openai/helpers/responses_websocket/incremental.rbs', line 5 def phase @phase end |
Instance Method Details
#add ⇒ void
This method returns an undefined value.
10 |
# File 'sig/openai/helpers/responses_websocket/incremental.rbs', line 10
def add: (connection_server_event event) -> void
|
#detailed_snapshot ⇒ Hash[Symbol, untyped]?
8 |
# File 'sig/openai/helpers/responses_websocket/incremental.rbs', line 8
def detailed_snapshot: -> Hash[Symbol, untyped]?
|
#output ⇒ Array[(response_output_item | Hash[Symbol, untyped])]?
7 |
# File 'sig/openai/helpers/responses_websocket/incremental.rbs', line 7
def output: -> Array[(response_output_item | Hash[Symbol, untyped])]?
|
#reset ⇒ void
This method returns an undefined value.
11 |
# File 'sig/openai/helpers/responses_websocket/incremental.rbs', line 11
def reset: -> void
|
#terminal_event ⇒ connection_server_event?
9 |
# File 'sig/openai/helpers/responses_websocket/incremental.rbs', line 9
def terminal_event: -> connection_server_event?
|