Interface GuardrailExecutorBuilderFactory<C extends GuardrailsConfig,R extends GuardrailResult<R>,P extends GuardrailRequest<P>,G extends Guardrail<P,R>,B extends AbstractGuardrailExecutor.GuardrailExecutorBuilder<C,R,P,G,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
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>,B extends AbstractGuardrailExecutor.GuardrailExecutorBuilder<C,R,P,G,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.