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 theToolExecutionRequestthat initiated the tool execution.Gets the result of the tool executionMethods inherited from class AbstractAiServiceEvent
invocationContextMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface AiServiceEvent
invocationContextMethods inherited from interface ToolExecutedEvent
eventClass, toBuilder
-
Constructor Details
-
DefaultToolExecutedEvent
-
-
Method Details
-
request
Description copied from interface:ToolExecutedEventGets theToolExecutionRequestthat initiated the tool execution.- Specified by:
requestin interfaceToolExecutedEvent
-
resultText
Description copied from interface:ToolExecutedEventGets the result of the tool execution- Specified by:
resultTextin interfaceToolExecutedEvent
-