WebSearchPreviewTool Class

Definition

Web search preview.

public class WebSearchPreviewTool : Azure.AI.AgentServer.Responses.Models.Tool, System.ClientModel.Primitives.IJsonModel<Azure.AI.AgentServer.Responses.Models.WebSearchPreviewTool>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.AgentServer.Responses.Models.WebSearchPreviewTool>
type WebSearchPreviewTool = class
    inherit Tool
    interface IJsonModel<WebSearchPreviewTool>
    interface IPersistableModel<WebSearchPreviewTool>
Public Class WebSearchPreviewTool
Inherits Tool
Implements IJsonModel(Of WebSearchPreviewTool), IPersistableModel(Of WebSearchPreviewTool)
Inheritance
WebSearchPreviewTool
Implements

Constructors

Name Description
WebSearchPreviewTool()

Initializes a new instance of WebSearchPreviewTool.

Properties

Name Description
SearchContentTypes

Gets the SearchContentTypes.

SearchContextSize

High level guidance for the amount of context window space to use for the search. One of low, medium, or high. medium is the default.

UserLocation

Gets or sets the UserLocation.

Methods

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

Explicit Interface Implementations

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

Applies to