ToolChoiceObjectWebSearch 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.
Note: web_search is not yet available via Azure OpenAI.
public class ToolChoiceObjectWebSearch : Azure.AI.AgentServer.Contracts.Generated.OpenAI.ToolChoiceObject, System.ClientModel.Primitives.IJsonModel<Azure.AI.AgentServer.Contracts.Generated.OpenAI.ToolChoiceObjectWebSearch>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.AgentServer.Contracts.Generated.OpenAI.ToolChoiceObjectWebSearch>
type ToolChoiceObjectWebSearch = class
inherit ToolChoiceObject
interface IUtf8JsonSerializable
interface IJsonModel<ToolChoiceObjectWebSearch>
interface IPersistableModel<ToolChoiceObjectWebSearch>
Public Class ToolChoiceObjectWebSearch
Inherits ToolChoiceObject
Implements IJsonModel(Of ToolChoiceObjectWebSearch), IPersistableModel(Of ToolChoiceObjectWebSearch)
- Inheritance
- Implements
Constructors
| Name | Description |
|---|---|
| ToolChoiceObjectWebSearch() |
Initializes a new instance of ToolChoiceObjectWebSearch. |
| ToolChoiceObjectWebSearch(ToolChoiceObjectType, IDictionary<String,BinaryData>) |
Initializes a new instance of ToolChoiceObjectWebSearch. |
Properties
| Name | Description |
|---|---|
| Type |
Gets or sets the type. (Inherited from ToolChoiceObject) |
Methods
| Name | Description |
|---|---|
| DeserializeToolChoiceObjectWebSearch(JsonElement, ModelReaderWriterOptions) | |
| FromResponse(Response) |
Deserializes the model from a raw response. |
| JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) | |
| ToRequestContent() |
Convert into a RequestContent. |