StreamingToolCallUpdate Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents an incremental update to a streaming tool call that is part of a streaming chat completions choice.
public abstract class StreamingToolCallUpdate
type StreamingToolCallUpdate = class
Public MustInherit Class StreamingToolCallUpdate
- Inheritance
-
StreamingToolCallUpdate
- Derived
Remarks
This type encapsulates the payload located in e.g. $.choices[0].delta.tool_calls[] in the REST API schema.
To differentiate between parallel streaming tool calls within a single streaming choice, use the value of the ToolCallIndex property.
Please note StreamingToolCallUpdate is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include: StreamingFunctionToolCallUpdate.
Properties
Id |
Gets the ID associated with with the streaming tool call. |
ToolCallIndex |
Gets the tool call index associated with this StreamingToolCallUpdate. |
Applies to
Azure SDK for .NET