Interface GuardrailExecutorBuilderFactory<C extends GuardrailsConfig, R extends GuardrailResult<R>, P extends GuardrailRequest<P>, G extends Guardrail<P,R>, E extends GuardrailExecutedEvent<P,R,G>, B extends AbstractGuardrailExecutor.GuardrailExecutorBuilder<C,R,P,G,E,B>>

Type Parameters:
C - the type of guardrails configuration, extending from GuardrailsConfig
R - the type of guardrail result, extending from GuardrailResult
P - the type of guardrail request, extending from GuardrailRequest
G - the type of guardrail, extending from Guardrail
E - the type of guardrail executed event, extending from GuardrailExecutedEvent
B - the type of builder for creating GuardrailExecutor, extending from AbstractGuardrailExecutor.GuardrailExecutorBuilder
All Known Subinterfaces:
InputGuardrailExecutorBuilderFactory, OutputGuardrailExecutorBuilderFactory

public sealed interface GuardrailExecutorBuilderFactory<C extends GuardrailsConfig, R extends GuardrailResult<R>, P extends GuardrailRequest<P>, G extends Guardrail<P,R>, E extends GuardrailExecutedEvent<P,R,G>, B extends AbstractGuardrailExecutor.GuardrailExecutorBuilder<C,R,P,G,E,B>> permits InputGuardrailExecutorBuilderFactory, OutputGuardrailExecutorBuilderFactory
Represents a factory for creating instances of AbstractGuardrailExecutor.GuardrailExecutorBuilder. This interface is sealed and can only be extended by specific implementations like InputGuardrailExecutorBuilderFactory and OutputGuardrailExecutorBuilderFactory.
  • Method Summary

    Modifier and Type
    Method
    Description
    Retrieves a builder for creating instances of GuardrailExecutor.