Interface: ChatCompletionsToolCallDelta
Defined in: src/batteries/llm/openai_chat_completions/types.ts:164
Part of a tool call in a streaming response.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
function? | { arguments?: string; name?: string; } | The partial function name or arguments. | src/batteries/llm/openai_chat_completions/types.ts:180 |
function.arguments? | string | - | src/batteries/llm/openai_chat_completions/types.ts:182 |
function.name? | string | - | src/batteries/llm/openai_chat_completions/types.ts:181 |
id? | string | The identifier of the tool call. | src/batteries/llm/openai_chat_completions/types.ts:172 |
index | number | The index of the tool call in the stream. | src/batteries/llm/openai_chat_completions/types.ts:168 |
type? | "function" | The tool type, typically 'function'. | src/batteries/llm/openai_chat_completions/types.ts:176 |