Class AbstractAiServiceEvent
java.lang.Object
dev.langchain4j.observability.event.AbstractAiServiceEvent
- All Implemented Interfaces:
AiServiceEvent
- Direct Known Subclasses:
DefaultAiServiceCompletedEvent, DefaultAiServiceErrorEvent, DefaultAiServiceResponseReceivedEvent, DefaultAiServiceStartedEvent, DefaultGuardrailExecutedEvent, DefaultToolExecutedEvent
-
Nested Class Summary
Nested classes/interfaces inherited from interface AiServiceEvent
AiServiceEvent.Builder<T>
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
AbstractAiServiceEvent
(AiServiceEvent.Builder<?> builder) -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the invocation context, containing general information about where and how the invocation originated.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface AiServiceEvent
eventClass, toBuilder
-
Constructor Details
-
AbstractAiServiceEvent
-
-
Method Details
-
invocationContext
Description copied from interface:AiServiceEvent
Retrieves the invocation context, containing general information about where and how the invocation originated.- Specified by:
invocationContext
in interfaceAiServiceEvent
-