Class DefaultAiServiceInvocationSummaryEvent
java.lang.Object
dev.langchain4j.observability.event.AbstractAiServiceEvent
dev.langchain4j.observability.event.DefaultAiServiceInvocationSummaryEvent
- All Implemented Interfaces:
AiServiceEvent, AiServiceInvocationSummaryEvent
public class DefaultAiServiceInvocationSummaryEvent
extends AbstractAiServiceEvent
implements AiServiceInvocationSummaryEvent
Default implementation of
AiServiceInvocationSummaryEvent.-
Nested Class Summary
Nested classes/interfaces inherited from interface AiServiceEvent
AiServiceEvent.Builder<T>Nested classes/interfaces inherited from interface AiServiceInvocationSummaryEvent
AiServiceInvocationSummaryEvent.AiServiceInvocationSummaryEventBuilder -
Constructor Summary
ConstructorsConstructorDescriptionDefaultAiServiceInvocationSummaryEvent(AiServiceInvocationSummaryEvent.AiServiceInvocationSummaryEventBuilder builder) -
Method Summary
Modifier and TypeMethodDescriptionevents()Returns all the events fired for this AI Service invocation, in the order they were fired.Methods 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 AiServiceInvocationSummaryEvent
eventClass, toBuilder
-
Constructor Details
-
DefaultAiServiceInvocationSummaryEvent
public DefaultAiServiceInvocationSummaryEvent(AiServiceInvocationSummaryEvent.AiServiceInvocationSummaryEventBuilder builder)
-
-
Method Details
-
events
Description copied from interface:AiServiceInvocationSummaryEventReturns all the events fired for this AI Service invocation, in the order they were fired.- Specified by:
eventsin interfaceAiServiceInvocationSummaryEvent- Returns:
- An unmodifiable list of the events, in the order they were fired
-