你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
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.