Skip to main content

IWebSearchService

Namespace: Wisej.AI.Services

Assembly: Wisej.AI

Represents a service for performing web searches.

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.

ParameterTypeDescription
queryStringThe 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

NameDescription
BingWebSearchServiceRepresents a web search service using Bing's API.
BraveWebSearchServiceRepresents a service for performing web searches using the Brave search engine.
GoogleWebSearchServiceRepresents a web search service using Google's Custom Search API.
WebSearchServiceBaseRepresents the base class for web search services, providing common functionality and properties.