Uses of Class
dev.langchain4j.web.search.WebSearchInformationResult
Packages that use WebSearchInformationResult
-
Uses of WebSearchInformationResult in dev.langchain4j.web.search
Methods in dev.langchain4j.web.search that return WebSearchInformationResultModifier 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.Methods in dev.langchain4j.web.search with parameters of type WebSearchInformationResultModifier 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.Constructors in dev.langchain4j.web.search with parameters of type WebSearchInformationResultModifierConstructorDescriptionWebSearchResults
(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.