AzureAISearchAgentTool 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.
The input definition information for an Azure AI search tool as used to configure an agent.
public class AzureAISearchAgentTool : Azure.AI.AgentServer.Contracts.Generated.OpenAI.Tool, System.ClientModel.Primitives.IJsonModel<Azure.AI.AgentServer.Contracts.Generated.OpenAI.AzureAISearchAgentTool>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.AgentServer.Contracts.Generated.OpenAI.AzureAISearchAgentTool>
type AzureAISearchAgentTool = class
inherit Tool
interface IUtf8JsonSerializable
interface IJsonModel<AzureAISearchAgentTool>
interface IPersistableModel<AzureAISearchAgentTool>
Public Class AzureAISearchAgentTool
Inherits Tool
Implements IJsonModel(Of AzureAISearchAgentTool), IPersistableModel(Of AzureAISearchAgentTool)
- Inheritance
- Implements
Constructors
| Name | Description |
|---|---|
| AzureAISearchAgentTool() |
Initializes a new instance of AzureAISearchAgentTool for deserialization. |
| AzureAISearchAgentTool(AzureAISearchToolResource) |
Initializes a new instance of AzureAISearchAgentTool. |
| AzureAISearchAgentTool(ToolType, IDictionary<String,BinaryData>, AzureAISearchToolResource) |
Initializes a new instance of AzureAISearchAgentTool. |
Properties
| Name | Description |
|---|---|
| AzureAiSearch |
The azure ai search index resource. |
| Type |
Gets or sets the type. (Inherited from Tool) |
Methods
| Name | Description |
|---|---|
| DeserializeAzureAISearchAgentTool(JsonElement, ModelReaderWriterOptions) | |
| FromResponse(Response) |
Deserializes the model from a raw response. |
| JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) | |
| ToRequestContent() |
Convert into a RequestContent. |