WebSearchToolCallItemParam Constructors
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.
Overloads
| Name | Description |
|---|---|
| WebSearchToolCallItemParam() |
Initializes a new instance of WebSearchToolCallItemParam for deserialization. |
| WebSearchToolCallItemParam(WebSearchAction) |
Initializes a new instance of WebSearchToolCallItemParam. |
| WebSearchToolCallItemParam(ItemType, IDictionary<String,BinaryData>, WebSearchAction) |
Initializes a new instance of WebSearchToolCallItemParam. |
WebSearchToolCallItemParam()
Initializes a new instance of WebSearchToolCallItemParam for deserialization.
public WebSearchToolCallItemParam();
Public Sub New ()
Applies to
WebSearchToolCallItemParam(WebSearchAction)
Initializes a new instance of WebSearchToolCallItemParam.
public WebSearchToolCallItemParam(Azure.AI.AgentServer.Contracts.Generated.OpenAI.WebSearchAction action);
new Azure.AI.AgentServer.Contracts.Generated.OpenAI.WebSearchToolCallItemParam : Azure.AI.AgentServer.Contracts.Generated.OpenAI.WebSearchAction -> Azure.AI.AgentServer.Contracts.Generated.OpenAI.WebSearchToolCallItemParam
Public Sub New (action As WebSearchAction)
Parameters
- action
- WebSearchAction
An object describing the specific action taken in this web search call. Includes details on how the model used the web (search, open_page, find). Please note WebSearchAction is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include WebSearchActionFind, WebSearchActionOpenPage and WebSearchActionSearch.
Exceptions
action is null.
Applies to
WebSearchToolCallItemParam(ItemType, IDictionary<String,BinaryData>, WebSearchAction)
Initializes a new instance of WebSearchToolCallItemParam.
public WebSearchToolCallItemParam(Azure.AI.AgentServer.Contracts.Generated.OpenAI.ItemType type, System.Collections.Generic.IDictionary<string,BinaryData> serializedAdditionalRawData, Azure.AI.AgentServer.Contracts.Generated.OpenAI.WebSearchAction action);
new Azure.AI.AgentServer.Contracts.Generated.OpenAI.WebSearchToolCallItemParam : Azure.AI.AgentServer.Contracts.Generated.OpenAI.ItemType * System.Collections.Generic.IDictionary<string, BinaryData> * Azure.AI.AgentServer.Contracts.Generated.OpenAI.WebSearchAction -> Azure.AI.AgentServer.Contracts.Generated.OpenAI.WebSearchToolCallItemParam
Public Sub New (type As ItemType, serializedAdditionalRawData As IDictionary(Of String, BinaryData), action As WebSearchAction)
Parameters
- type
- ItemType
- serializedAdditionalRawData
- IDictionary<String,BinaryData>
Keeps track of any properties unknown to the library.
- action
- WebSearchAction
An object describing the specific action taken in this web search call. Includes details on how the model used the web (search, open_page, find). Please note WebSearchAction is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include WebSearchActionFind, WebSearchActionOpenPage and WebSearchActionSearch.