Uses of Class
dev.langchain4j.web.search.WebSearchRequest.Builder
-
Uses of WebSearchRequest.Builder in dev.langchain4j.web.search
Modifier and TypeMethodDescriptionWebSearchRequest.Builder.additionalParams
(Map<String, Object> additionalParams) Set the additional parameters for the search request.static WebSearchRequest.Builder
WebSearchRequest.builder()
Create a new builder instance.WebSearchRequest.Builder.geoLocation
(String geoLocation) Set the desired geolocation for search results.Set the desired language for search results.WebSearchRequest.Builder.maxResults
(Integer maxResults) Set the maximum number of results.WebSearchRequest.Builder.safeSearch
(Boolean safeSearch) Set the safe search flag.WebSearchRequest.Builder.searchTerms
(String searchTerms) Set the search terms.WebSearchRequest.Builder.startIndex
(Integer startIndex) Set the start index for search results.Set the start page number for search results.