你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
StreamingToolCallUpdate.Id 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 ID associated with with the streaming tool call.
public string Id { get; }
member this.Id : string
Public ReadOnly Property Id As String
Property Value
Remarks
Corresponds to e.g. $.choices[0].delta.tool_calls[0].id in the REST API schema.
This value appears once for each streaming tool call, typically on the first update message for each ToolCallIndex. Callers should retain the value when it arrives to accumulate the complete tool call information.
Tool call IDs must be provided in ChatRequestToolMessage instances that respond to tool calls.