Uses of Class
dev.langchain4j.web.search.WebSearchInformationResult
-
Uses of WebSearchInformationResult in dev.langchain4j.web.search
Modifier and TypeMethodDescriptionstatic WebSearchInformationResult
Creates a new WebSearchInformationResult with the specified total results.static WebSearchInformationResult
Creates a new WebSearchInformationResult with the specified total results, page number, and metadata.WebSearchResults.searchInformation()
Gets the information about the web search.Modifier and TypeMethodDescriptionstatic WebSearchResults
WebSearchResults.from
(WebSearchInformationResult searchInformation, List<WebSearchOrganicResult> results) Creates a new instance of WebSearchResults from the specified parameters.static WebSearchResults
WebSearchResults.from
(Map<String, Object> searchMetadata, WebSearchInformationResult searchInformation, List<WebSearchOrganicResult> results) Creates a new instance of WebSearchResults from the specified parameters.ModifierConstructorDescriptionWebSearchResults
(WebSearchInformationResult searchInformation, List<WebSearchOrganicResult> results) Constructs a new instance of WebSearchResults.WebSearchResults
(Map<String, Object> searchMetadata, WebSearchInformationResult searchInformation, List<WebSearchOrganicResult> results) Constructs a new instance of WebSearchResults.