类的使用
dev.langchain4j.web.search.WebSearchOrganicResult
使用WebSearchOrganicResult的程序包
-
dev.langchain4j.web.search中WebSearchOrganicResult的使用
修饰符和类型方法说明static WebSearchOrganicResultCreates a WebSearchOrganicResult object from the given title and URL.static WebSearchOrganicResultCreates a WebSearchOrganicResult object from the given title, URL, snippet and/or content.static WebSearchOrganicResultWebSearchOrganicResult.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.返回变量类型为WebSearchOrganicResult的类型的dev.langchain4j.web.search中的方法类型变量类型为WebSearchOrganicResult的dev.langchain4j.web.search中的方法参数修饰符和类型方法说明static WebSearchResultsWebSearchResults.from(WebSearchInformationResult searchInformation, List<WebSearchOrganicResult> results) Creates a new instance of WebSearchResults from the specified parameters.static WebSearchResultsWebSearchResults.from(Map<String, Object> searchMetadata, WebSearchInformationResult searchInformation, List<WebSearchOrganicResult> results) Creates a new instance of WebSearchResults from the specified parameters.类型变量类型为WebSearchOrganicResult的dev.langchain4j.web.search中的构造器参数限定符构造器说明WebSearchResults(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.