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