你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
RequiredToolCall 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.
An abstract, base representation for a tool call that an Assistants API run requires outputs from in order to continue.
[System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.AI.Projects.UnknownRequiredToolCall))]
public abstract class RequiredToolCall : Azure.AI.Projects.RequiredAction, System.ClientModel.Primitives.IJsonModel<Azure.AI.Projects.RequiredToolCall>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Projects.RequiredToolCall>
[<System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.AI.Projects.UnknownRequiredToolCall))>]
type RequiredToolCall = class
inherit RequiredAction
interface IJsonModel<RequiredToolCall>
interface IPersistableModel<RequiredToolCall>
Public MustInherit Class RequiredToolCall
Inherits RequiredAction
Implements IJsonModel(Of RequiredToolCall), IPersistableModel(Of RequiredToolCall)
- Inheritance
- Derived
- Attributes
- Implements
Remarks
RequiredToolCall is the abstract base type for all required tool calls. Its concrete type can be one of:
Constructors
RequiredToolCall(String) |
Initializes a new instance of RequiredToolCall. |
Properties
Id |
The ID of the tool call. This ID must be referenced when submitting tool outputs. |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |