Uses of Class
dev.langchain4j.data.message.ToolExecutionResultMessage
Packages that use ToolExecutionResultMessage
Package
Description
-
Uses of ToolExecutionResultMessage in dev.langchain4j.agentic.agent
Method parameters in dev.langchain4j.agentic.agent with type arguments of type ToolExecutionResultMessageModifier and TypeMethodDescriptionAgentBuilder.hallucinatedToolNameStrategy(Function<ToolExecutionRequest, ToolExecutionResultMessage> hallucinatedToolNameStrategy) -
Uses of ToolExecutionResultMessage in dev.langchain4j.data.message
Methods in dev.langchain4j.data.message that return ToolExecutionResultMessageModifier and TypeMethodDescriptionstatic ToolExecutionResultMessageToolExecutionResultMessage.from(ToolExecutionRequest request, String toolExecutionResult) Creates aToolExecutionResultMessagefrom aToolExecutionRequestand the result of the tool execution.static ToolExecutionResultMessageCreates aToolExecutionResultMessagefrom aToolExecutionRequestand the result of the tool execution.static ToolExecutionResultMessageToolExecutionResultMessage.toolExecutionResultMessage(ToolExecutionRequest request, String toolExecutionResult) Creates aToolExecutionResultMessagefrom aToolExecutionRequestand the result of the tool execution.static ToolExecutionResultMessageToolExecutionResultMessage.toolExecutionResultMessage(String id, String toolName, String toolExecutionResult) Creates aToolExecutionResultMessagefrom aToolExecutionRequestand the result of the tool execution. -
Uses of ToolExecutionResultMessage in dev.langchain4j.service
Method parameters in dev.langchain4j.service with type arguments of type ToolExecutionResultMessageModifier and TypeMethodDescriptionAiServices.hallucinatedToolNameStrategy(Function<ToolExecutionRequest, ToolExecutionResultMessage> hallucinatedToolNameStrategy) Configures the strategy to be used when the LLM hallucinates a tool name (i.e., attempts to call a nonexistent tool). -
Uses of ToolExecutionResultMessage in dev.langchain4j.service.tool
Classes in dev.langchain4j.service.tool that implement interfaces with type arguments of type ToolExecutionResultMessageMethods in dev.langchain4j.service.tool that return ToolExecutionResultMessageModifier and TypeMethodDescriptionHallucinatedToolNameStrategy.apply(ToolExecutionRequest toolExecutionRequest) Method parameters in dev.langchain4j.service.tool with type arguments of type ToolExecutionResultMessageModifier and TypeMethodDescriptionvoidToolService.hallucinatedToolNameStrategy(Function<ToolExecutionRequest, ToolExecutionResultMessage> toolHallucinationStrategy)