Class DefaultToolExecutedEvent
java.lang.Object
dev.langchain4j.observability.event.AbstractAiServiceEvent
dev.langchain4j.observability.event.DefaultToolExecutedEvent
- All Implemented Interfaces:
AiServiceEvent, ToolExecutedEvent
Default implementation of
ToolExecutedEvent
.-
Nested Class Summary
Nested classes/interfaces inherited from interface AiServiceEvent
AiServiceEvent.Builder<T>
Nested classes/interfaces inherited from interface ToolExecutedEvent
ToolExecutedEvent.ToolExecutedEventBuilder
-
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionrequest()
Gets theToolExecutionRequest
that initiated the tool execution.Gets the result of the tool executionMethods inherited from class AbstractAiServiceEvent
invocationContext
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface AiServiceEvent
invocationContext
Methods inherited from interface ToolExecutedEvent
eventClass, toBuilder
-
Constructor Details
-
DefaultToolExecutedEvent
-
-
Method Details
-
request
Description copied from interface:ToolExecutedEvent
Gets theToolExecutionRequest
that initiated the tool execution.- Specified by:
request
in interfaceToolExecutedEvent
-
resultText
Description copied from interface:ToolExecutedEvent
Gets the result of the tool execution- Specified by:
resultText
in interfaceToolExecutedEvent
-