Uses of Interface
dev.langchain4j.service.tool.ToolExecutor
Packages that use ToolExecutor
-
Uses of ToolExecutor in dev.langchain4j.service
Method parameters in dev.langchain4j.service with type arguments of type ToolExecutorModifier and TypeMethodDescriptionAiServices.tools
(Map<ToolSpecification, ToolExecutor> tools) Configures the tools that the LLM can use.Constructor parameters in dev.langchain4j.service with type arguments of type ToolExecutorModifierConstructorDescriptionAiServiceTokenStream
(List<ChatMessage> messages, List<ToolSpecification> toolSpecifications, Map<String, ToolExecutor> toolExecutors, List<Content> retrievedContents, AiServiceContext context, Object memoryId) -
Uses of ToolExecutor in dev.langchain4j.service.tool
Classes in dev.langchain4j.service.tool that implement ToolExecutorMethods in dev.langchain4j.service.tool that return types with arguments of type ToolExecutorModifier and TypeMethodDescriptionToolExecutionContext.toolExecutors()
Returns the value of thetoolExecutors
record component.ToolService.toolExecutors()
ToolProviderResult.tools()
Methods in dev.langchain4j.service.tool with parameters of type ToolExecutorModifier and TypeMethodDescriptionToolProviderResult.Builder.add
(ToolSpecification tool, ToolExecutor executor) Method parameters in dev.langchain4j.service.tool with type arguments of type ToolExecutorModifier and TypeMethodDescriptionToolProviderResult.Builder.addAll
(Map<ToolSpecification, ToolExecutor> tools) ToolService.executeInferenceAndToolsLoop
(ChatResponse chatResponse, ChatRequestParameters parameters, List<ChatMessage> messages, ChatLanguageModel chatModel, ChatMemory chatMemory, Object memoryId, Map<String, ToolExecutor> toolExecutors) void
ToolService.tools
(Map<ToolSpecification, ToolExecutor> tools) Constructor parameters in dev.langchain4j.service.tool with type arguments of type ToolExecutorModifierConstructorDescriptionToolExecutionContext
(List<ToolSpecification> toolSpecifications, Map<String, ToolExecutor> toolExecutors) Creates an instance of aToolExecutionContext
record class.