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