Class ChatEvent.ToolExecutedEvent
java.lang.Object
io.quarkiverse.langchain4j.runtime.aiservice.ChatEvent
io.quarkiverse.langchain4j.runtime.aiservice.ChatEvent.ToolExecutedEvent
-
Nested Class Summary
Nested classes/interfaces inherited from class io.quarkiverse.langchain4j.runtime.aiservice.ChatEvent
ChatEvent.AccumulatedResponseEvent, ChatEvent.BeforeToolExecutionEvent, ChatEvent.ChatCompletedEvent, ChatEvent.ChatEventType, ChatEvent.ContentFetchedEvent, ChatEvent.PartialResponseEvent, ChatEvent.PartialThinkingEvent, ChatEvent.ToolExecutedEvent
-
Constructor Summary
ConstructorsConstructorDescriptionToolExecutedEvent
(dev.langchain4j.service.tool.ToolExecution execution) Constructs a new ToolExecutedEvent with the given tool execution details. -
Method Summary
Modifier and TypeMethodDescriptiondev.langchain4j.service.tool.ToolExecution
Returns the tool execution details.Methods inherited from class io.quarkiverse.langchain4j.runtime.aiservice.ChatEvent
getEventType
-
Constructor Details
-
ToolExecutedEvent
public ToolExecutedEvent(dev.langchain4j.service.tool.ToolExecution execution) Constructs a new ToolExecutedEvent with the given tool execution details.- Parameters:
execution
- the tool execution information including the tool name, arguments, and execution result
-
-
Method Details
-
getExecution
public dev.langchain4j.service.tool.ToolExecution getExecution()Returns the tool execution details.- Returns:
- the tool execution information
-