Uses of Class
dev.langchain4j.service.tool.search.vector.VectorToolSearchStrategy.Builder
Packages that use VectorToolSearchStrategy.Builder
-
Uses of VectorToolSearchStrategy.Builder in dev.langchain4j.service.tool.search.vector
Methods in dev.langchain4j.service.tool.search.vector that return VectorToolSearchStrategy.BuilderModifier and TypeMethodDescriptionVectorToolSearchStrategy.builder()VectorToolSearchStrategy.Builder.cacheEmbeddings(Boolean cacheEmbeddings) Controls whether embeddings generated by the embedding model are cached.VectorToolSearchStrategy.Builder.embeddingModel(EmbeddingModel embeddingModel) Sets theEmbeddingModelused to generate embeddings for the query and available tools.VectorToolSearchStrategy.Builder.maxResults(Integer maxResults) Sets the maximum number of tools to return from the vector similarity search.VectorToolSearchStrategy.Builder.throwToolArgumentsExceptions(Boolean throwToolArgumentsExceptions) Controls which exception type is thrown when tool arguments are missing, invalid, or cannot be parsed.VectorToolSearchStrategy.Builder.toolArgumentDescription(String toolArgumentDescription) Sets the description of the tool argument that contains the natural language query.VectorToolSearchStrategy.Builder.toolArgumentName(String toolArgumentName) Sets the name of the tool argument that contains the natural language query.VectorToolSearchStrategy.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.VectorToolSearchStrategy.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.vector with parameters of type VectorToolSearchStrategy.Builder