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 classChatCompletionMessageToolCall.Builderpublic final classChatCompletionMessageToolCall.FunctionThe function that the model called.
public final classChatCompletionMessageToolCall.TypeThe type of the tool. Currently, only
functionis supported.
-
Method Summary
Modifier and Type Method Description final Stringid()The ID of the tool call. final ChatCompletionMessageToolCall.Functionfunction()The function that the model called. final ChatCompletionMessageToolCall.Typetype()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 ChatCompletionMessageToolCallvalidate()final ChatCompletionMessageToolCall.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ChatCompletionMessageToolCall.Builderbuilder()-
-
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
functionis 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
functionis supported.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
validate
final ChatCompletionMessageToolCall validate()
-
toBuilder
final ChatCompletionMessageToolCall.Builder toBuilder()
-
builder
final static ChatCompletionMessageToolCall.Builder builder()
-
-
-
-