StreamingToolCallUpdate.ToolCallIndex Property
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.
Gets the tool call index associated with this StreamingToolCallUpdate.
public int ToolCallIndex { get; }
member this.ToolCallIndex : int
Public ReadOnly Property ToolCallIndex As Integer
Property Value
Remarks
Corresponds to e.g. $.choices[0].delta.tool_calls[0].index in the REST API schema.
This value appears on every streaming tool call update. When multiple tool calls occur within the same streaming chat choice, this index specifies which tool call that this update contains new information for.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET