Package com.openai.models
Class FunctionToolCall
-
- All Implemented Interfaces:
public final class FunctionToolCall
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
FunctionToolCall.Builder
public final class
FunctionToolCall.Function
The definition of the function that was called.
public final class
FunctionToolCall.Type
The type of tool call. This is always going to be
function
for this type of tool call.
-
Method Summary
Modifier and Type Method Description final String
id()
The ID of the tool call object. final FunctionToolCall.Function
function()
The definition of the function that was called. final FunctionToolCall.Type
type()
The type of tool call. final JsonField<String>
_id()
The ID of the tool call object. final JsonField<FunctionToolCall.Function>
_function()
The definition of the function that was called. final JsonField<FunctionToolCall.Type>
_type()
The type of tool call. final Map<String, JsonValue>
_additionalProperties()
final FunctionToolCall
validate()
final FunctionToolCall.Builder
toBuilder()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static FunctionToolCall.Builder
builder()
-
-
Method Detail
-
function
final FunctionToolCall.Function function()
The definition of the function that was called.
-
type
final FunctionToolCall.Type type()
The type of tool call. This is always going to be
function
for this type of tool call.
-
_function
final JsonField<FunctionToolCall.Function> _function()
The definition of the function that was called.
-
_type
final JsonField<FunctionToolCall.Type> _type()
The type of tool call. This is always going to be
function
for this type of tool call.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
validate
final FunctionToolCall validate()
-
toBuilder
final FunctionToolCall.Builder toBuilder()
-
builder
final static FunctionToolCall.Builder builder()
-
-
-
-