Package com.openai.models
Class ChatCompletionMessageToolCall
-
- All Implemented Interfaces:
public final class ChatCompletionMessageToolCall
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
ChatCompletionMessageToolCall.Builder
public final class
ChatCompletionMessageToolCall.Function
The function that the model called.
public final class
ChatCompletionMessageToolCall.Type
The type of the tool. Currently, only
function
is supported.
-
Method Summary
Modifier and Type Method Description final String
id()
The ID of the tool call. final ChatCompletionMessageToolCall.Function
function()
The function that the model called. final ChatCompletionMessageToolCall.Type
type()
The type of the tool. final JsonField<String>
_id()
The ID of the tool call. final JsonField<ChatCompletionMessageToolCall.Function>
_function()
The function that the model called. final JsonField<ChatCompletionMessageToolCall.Type>
_type()
The type of the tool. final Map<String, JsonValue>
_additionalProperties()
final ChatCompletionMessageToolCall
validate()
final ChatCompletionMessageToolCall.Builder
toBuilder()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static ChatCompletionMessageToolCall.Builder
builder()
-
-
Method Detail
-
function
final ChatCompletionMessageToolCall.Function function()
The function that the model called.
-
type
final ChatCompletionMessageToolCall.Type type()
The type of the tool. Currently, only
function
is supported.
-
_function
final JsonField<ChatCompletionMessageToolCall.Function> _function()
The function that the model called.
-
_type
final JsonField<ChatCompletionMessageToolCall.Type> _type()
The type of the tool. Currently, only
function
is supported.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
validate
final ChatCompletionMessageToolCall validate()
-
toBuilder
final ChatCompletionMessageToolCall.Builder toBuilder()
-
builder
final static ChatCompletionMessageToolCall.Builder builder()
-
-
-
-