Class ResponseCodeInterpreterCallCompletedEvent
-
- All Implemented Interfaces:
public final class ResponseCodeInterpreterCallCompletedEvent
Emitted when the code interpreter call is completed.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
ResponseCodeInterpreterCallCompletedEvent.Builder
A builder for ResponseCodeInterpreterCallCompletedEvent.
-
Method Summary
-
-
Method Detail
-
codeInterpreterCall
final ResponseCodeInterpreterToolCall codeInterpreterCall()
A tool call to run code.
-
outputIndex
final Long outputIndex()
The index of the output item that the code interpreter call is in progress.
-
sequenceNumber
final Long sequenceNumber()
The sequence number of this event.
-
_type
final JsonValue _type()
The type of the event. Always
response.code_interpreter_call.completed
.Expected to always return the following:
JsonValue.from("response.code_interpreter_call.completed")
However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_codeInterpreterCall
final JsonField<ResponseCodeInterpreterToolCall> _codeInterpreterCall()
Returns the raw JSON value of codeInterpreterCall.
Unlike codeInterpreterCall, this method doesn't throw if the JSON field has an unexpected type.
-
_outputIndex
final JsonField<Long> _outputIndex()
Returns the raw JSON value of outputIndex.
Unlike outputIndex, this method doesn't throw if the JSON field has an unexpected type.
-
_sequenceNumber
final JsonField<Long> _sequenceNumber()
Returns the raw JSON value of sequenceNumber.
Unlike sequenceNumber, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ResponseCodeInterpreterCallCompletedEvent.Builder toBuilder()
-
validate
final ResponseCodeInterpreterCallCompletedEvent validate()
-
builder
final static ResponseCodeInterpreterCallCompletedEvent.Builder builder()
Returns a mutable builder for constructing an instance of ResponseCodeInterpreterCallCompletedEvent.
The following fields are required:
.codeInterpreterCall() .outputIndex() .sequenceNumber()
-
-
-
-