Uses of Record Class
dev.langchain4j.service.tool.ToolService.ToolResultsOutcome
Packages that use ToolService.ToolResultsOutcome
-
Uses of ToolService.ToolResultsOutcome in dev.langchain4j.service.tool
Methods in dev.langchain4j.service.tool that return ToolService.ToolResultsOutcomeModifier and TypeMethodDescriptionToolService.processToolResults(AiServiceContext context, List<ToolExecutionRequest> toolExecutionRequests, Map<ToolExecutionRequest, ToolExecutionResult> toolResults, List<ToolExecution> toolExecutions, InvocationContext invocationContext, ToolServiceContext toolServiceContext) Per-round bookkeeping shared by every AI Service mode (sync,CompletableFuture,TokenStream, reactiveFlow.Publisher): for each executed tool it records aToolExecution, fires theToolExecutedEvent, collects the tool-result message (in request order), and accumulatesanyToolErrored+ the per-toolReturnBehaviors.