Package dev.langchain4j.observability.api.event
@Experimental
@NullMarked
package dev.langchain4j.observability.api.event
-
ClassDescriptionRepresents an event that occurs upon the completion of an invocation.Builder for
DefaultAiServiceCompletedEventinstances.Represents an event that occurs when an AI Service invocation fails.Builder forDefaultAiServiceErrorEventinstances.AiServiceEvent.Builder<T extends AiServiceEvent>An abstract base class for building instances of types that extendAiServiceEvent.Invoked when response from aChatModelis received.Builder forDefaultAiServiceResponseReceivedEventinstances.Called when an LLM invocation has started.Builder forDefaultAiServiceStartedEventinstances.GuardrailExecutedEvent<P extends GuardrailRequest<P>, R extends GuardrailResult<R>, G extends Guardrail<P,R>> Represents an event that is executed when a guardrail validation occurs.GuardrailExecutedEvent.GuardrailExecutedEventBuilder<P extends GuardrailRequest<P>, R extends GuardrailResult<R>, G extends Guardrail<P,R>, T extends GuardrailExecutedEvent<P, R, G>> Represents an event that is triggered upon the execution of an input guardrail validation.Builder forInputGuardrailExecutedEventinstances.Represents an event executed during the output guardrail validation process.Builder forOutputGuardrailExecutedEventinstances.Invoked after the tool is executed.