语言

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

VoiceAgentFunctionTool Class

Definition

A native function tool executed by the client.

public class VoiceAgentFunctionTool : Azure.AI.Projects.Agents.VoiceAgentTool, System.ClientModel.Primitives.IJsonModel<Azure.AI.Projects.Agents.VoiceAgentFunctionTool>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Projects.Agents.VoiceAgentFunctionTool>
type VoiceAgentFunctionTool = class
    inherit VoiceAgentTool
    interface IJsonModel<VoiceAgentFunctionTool>
    interface IPersistableModel<VoiceAgentFunctionTool>
Public Class VoiceAgentFunctionTool
Inherits VoiceAgentTool
Implements IJsonModel(Of VoiceAgentFunctionTool), IPersistableModel(Of VoiceAgentFunctionTool)
Inheritance
VoiceAgentFunctionTool
Implements

Constructors

Name Description
VoiceAgentFunctionTool(String)

Initializes a new instance of VoiceAgentFunctionTool.

Properties

Name Description
Description

The description of the function, including guidance on when and how to call it, and guidance about what to tell the user when calling (if anything).

Name

The function name.

Parameters

Parameters of the function in JSON Schema.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<VoiceAgentFunctionTool>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<VoiceAgentFunctionTool>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IJsonModel<VoiceAgentTool>.Create(Utf8JsonReader, ModelReaderWriterOptions) (Inherited from VoiceAgentTool)
IJsonModel<VoiceAgentTool>.Write(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from VoiceAgentTool)
IPersistableModel<VoiceAgentFunctionTool>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<VoiceAgentFunctionTool>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<VoiceAgentFunctionTool>.Write(ModelReaderWriterOptions)
IPersistableModel<VoiceAgentTool>.Create(BinaryData, ModelReaderWriterOptions) (Inherited from VoiceAgentTool)
IPersistableModel<VoiceAgentTool>.GetFormatFromOptions(ModelReaderWriterOptions) (Inherited from VoiceAgentTool)
IPersistableModel<VoiceAgentTool>.Write(ModelReaderWriterOptions) (Inherited from VoiceAgentTool)

Applies to