IWebSearchService
Namespace: Wisej.AI.Services
Assembly: Wisej.AI
Represents a service for performing web searches.
- C#
- VB.NET
public interface IWebSearchService
Public Interface IWebSearchService
Properties
MaxSites
Int32: Gets or sets the maximum number of sites to search.
Methods
SearchAsync(query)
Asynchronously performs a web search with the specified query.
| Parameter | Type | Description |
|---|---|---|
| query | String | The search query string. |
Returns: Task<String>. A task that represents the asynchronous operation. The task result contains the search results as a string.
Implemented By
| Name | Description |
|---|---|
| BingWebSearchService | Represents a web search service using Bing's API. |
| BraveWebSearchService | Represents a service for performing web searches using the Brave search engine. |
| GoogleWebSearchService | Represents a web search service using Google's Custom Search API. |
| WebSearchServiceBase | Represents the base class for web search services, providing common functionality and properties. |