Class DefaultToolOutputGuardrailExecutedEvent
java.lang.Object
dev.langchain4j.observability.event.AbstractAiServiceEvent
dev.langchain4j.observability.event.DefaultGuardrailExecutedEvent<ToolOutputGuardrailRequest, ToolOutputGuardrailResult, ToolOutputGuardrail, ToolOutputGuardrailExecutedEvent>
dev.langchain4j.observability.event.DefaultToolOutputGuardrailExecutedEvent
- All Implemented Interfaces:
AiServiceEvent, GuardrailExecutedEvent<ToolOutputGuardrailRequest, ToolOutputGuardrailResult, ToolOutputGuardrail>, ToolOutputGuardrailExecutedEvent
@Experimental
public class DefaultToolOutputGuardrailExecutedEvent
extends DefaultGuardrailExecutedEvent<ToolOutputGuardrailRequest, ToolOutputGuardrailResult, ToolOutputGuardrail, ToolOutputGuardrailExecutedEvent>
implements ToolOutputGuardrailExecutedEvent
Default implementation of
ToolOutputGuardrailExecutedEvent.- Since:
- 1.25.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface AiServiceEvent
AiServiceEvent.Builder<T>Nested classes/interfaces inherited from interface GuardrailExecutedEvent
GuardrailExecutedEvent.GuardrailExecutedEventBuilder<P,R, G, T> Nested classes/interfaces inherited from interface ToolOutputGuardrailExecutedEvent
ToolOutputGuardrailExecutedEvent.ToolOutputGuardrailExecutedEventBuilder -
Constructor Summary
ConstructorsConstructorDescriptionDefaultToolOutputGuardrailExecutedEvent(ToolOutputGuardrailExecutedEvent.ToolOutputGuardrailExecutedEventBuilder builder) Creates the event from a builder. -
Method Summary
Methods inherited from class DefaultGuardrailExecutedEvent
duration, guardrailClass, guardrailName, request, resultMethods 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 GuardrailExecutedEvent
duration, guardrailClass, guardrailName, request, resultMethods inherited from interface ToolOutputGuardrailExecutedEvent
eventClass, toBuilder
-
Constructor Details
-
DefaultToolOutputGuardrailExecutedEvent
public DefaultToolOutputGuardrailExecutedEvent(ToolOutputGuardrailExecutedEvent.ToolOutputGuardrailExecutedEventBuilder builder) Creates the event from a builder.- Parameters:
builder- the builder
-