Uses of Class
dev.langchain4j.web.search.WebSearchOrganicResult
-
Uses of WebSearchOrganicResult in dev.langchain4j.web.search
Modifier and TypeMethodDescriptionstatic WebSearchOrganicResult
Creates a WebSearchOrganicResult object from the given title and URL.static WebSearchOrganicResult
Creates a WebSearchOrganicResult object from the given title, URL, snippet and/or content.static WebSearchOrganicResult
WebSearchOrganicResult.from
(String title, URI url, String snippet, String content, Map<String, String> metadata) Creates a WebSearchOrganicResult object from the given title, URL, snippet and/or content, and result metadata.Modifier and TypeMethodDescriptionWebSearchResults.results()
Gets the list of organic search results.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.