Uses of Class
dev.langchain4j.service.tool.search.simple.SimpleToolSearchStrategy.Builder
Packages that use SimpleToolSearchStrategy.Builder
-
Uses of SimpleToolSearchStrategy.Builder in dev.langchain4j.service.tool.search.simple
Methods in dev.langchain4j.service.tool.search.simple that return SimpleToolSearchStrategy.BuilderModifier and TypeMethodDescriptionSimpleToolSearchStrategy.builder()SimpleToolSearchStrategy.Builder.maxResults(Integer maxResults) Sets the maximum number of tools to return after scoring and ranking.Sets the minimum score a tool must have to be included in the results.SimpleToolSearchStrategy.Builder.throwToolArgumentsExceptions(Boolean throwToolArgumentsExceptions) Controls which exception type is thrown when tool arguments are missing, invalid, or cannot be parsed.SimpleToolSearchStrategy.Builder.toolArgumentDescription(String toolArgumentDescription) Sets the description of the tool argument that contains the list of search terms.SimpleToolSearchStrategy.Builder.toolArgumentName(String toolArgumentName) Sets the name of the tool argument that contains the list of search terms.SimpleToolSearchStrategy.Builder.toolDescription(String toolDescription) Sets the description of the tool that performs the tool search.Sets the name of the tool that performs the tool search.SimpleToolSearchStrategy.Builder.toolResultMessageTextProvider(Function<List<String>, String> toolResultMessageTextProvider) Sets a function that produces a human-readable message describing the tool search result, based on the list of found tool names.Constructors in dev.langchain4j.service.tool.search.simple with parameters of type SimpleToolSearchStrategy.Builder