Class CodeInterpreterToolCall.CodeInterpreter.Output.LogsOutput
-
- All Implemented Interfaces:
public final class CodeInterpreterToolCall.CodeInterpreter.Output.LogsOutput
Text output from the Code Interpreter tool call as part of a run step.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
CodeInterpreterToolCall.CodeInterpreter.Output.LogsOutput.Builder
A builder for LogsOutput.
-
Method Summary
Modifier and Type Method Description final String
logs()
The text output from the Code Interpreter tool call. final JsonValue
_type()
Always logs
.final JsonField<String>
_logs()
Returns the raw JSON value of logs. final Map<String, JsonValue>
_additionalProperties()
final CodeInterpreterToolCall.CodeInterpreter.Output.LogsOutput.Builder
toBuilder()
final CodeInterpreterToolCall.CodeInterpreter.Output.LogsOutput
validate()
final Boolean
isValid()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static CodeInterpreterToolCall.CodeInterpreter.Output.LogsOutput.Builder
builder()
Returns a mutable builder for constructing an instance of LogsOutput. -
-
Method Detail
-
_type
final JsonValue _type()
Always
logs
.Expected to always return the following:
JsonValue.from("logs")
However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_logs
final JsonField<String> _logs()
Returns the raw JSON value of logs.
Unlike logs, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final CodeInterpreterToolCall.CodeInterpreter.Output.LogsOutput.Builder toBuilder()
-
validate
final CodeInterpreterToolCall.CodeInterpreter.Output.LogsOutput validate()
-
builder
final static CodeInterpreterToolCall.CodeInterpreter.Output.LogsOutput.Builder builder()
Returns a mutable builder for constructing an instance of LogsOutput.
The following fields are required:
.logs()
-
-
-
-