WebSearchToolResultContent 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.
Represents the result of a web search tool invocation by a hosted service.
public ref class WebSearchToolResultContent sealed : Microsoft::Extensions::AI::ToolResultContent
[System.Diagnostics.CodeAnalysis.Experimental("MEAI001", UrlFormat="https://aka.ms/dotnet-extensions-warnings/{0}")]
public sealed class WebSearchToolResultContent : Microsoft.Extensions.AI.ToolResultContent
public sealed class WebSearchToolResultContent : Microsoft.Extensions.AI.ToolResultContent
[<System.Diagnostics.CodeAnalysis.Experimental("MEAI001", UrlFormat="https://aka.ms/dotnet-extensions-warnings/{0}")>]
type WebSearchToolResultContent = class
inherit ToolResultContent
type WebSearchToolResultContent = class
inherit ToolResultContent
Public NotInheritable Class WebSearchToolResultContent
Inherits ToolResultContent
- Inheritance
- Attributes
Remarks
This content type represents the results found by a hosted AI service's web search tool. The results contain a list of AIContent items describing the web pages found during the search, typically as UriContent instances.
Constructors
| Name | Description |
|---|---|
| WebSearchToolResultContent(String) |
Initializes a new instance of the WebSearchToolResultContent class. |
Properties
| Name | Description |
|---|---|
| AdditionalProperties |
Gets or sets additional properties for the content. (Inherited from AIContent) |
| Annotations |
Gets or sets a list of annotations on this content. (Inherited from AIContent) |
| CallId |
Gets the ID of the tool call for which this is the result. (Inherited from ToolResultContent) |
| RawRepresentation |
Gets or sets the raw representation of the content from an underlying implementation. (Inherited from AIContent) |
| Results |
Gets or sets the web search results. |