Uses of Interface
dev.langchain4j.service.guardrail.ToolGuardrailService.Builder
Packages that use ToolGuardrailService.Builder
Package
Description
-
Uses of ToolGuardrailService.Builder in dev.langchain4j.service
Fields in dev.langchain4j.service declared as ToolGuardrailService.BuilderModifier and TypeFieldDescriptionAiServiceContext.toolGuardrailServiceBuilderConfigures the tool guardrails that apply to every tool of the AI service. -
Uses of ToolGuardrailService.Builder in dev.langchain4j.service.guardrail
Methods in dev.langchain4j.service.guardrail that return ToolGuardrailService.BuilderModifier and TypeMethodDescriptionstatic ToolGuardrailService.BuilderCreates a builder ofToolGuardrailService.default <I extends ToolInputGuardrail>
ToolGuardrailService.BuilderToolGuardrailService.Builder.inputGuardrailClasses(Class<? extends I>... guardrailClasses) Sets the classes of the input guardrails that apply to every tool, replacing the ones set before.<I extends ToolInputGuardrail>
ToolGuardrailService.BuilderToolGuardrailService.Builder.inputGuardrailClasses(@Nullable List<Class<? extends I>> guardrailClasses) Sets the classes of the input guardrails that apply to every tool, replacing the ones set before.default <I extends ToolInputGuardrail>
ToolGuardrailService.BuilderToolGuardrailService.Builder.inputGuardrails(I... guardrails) Sets the input guardrails that apply to every tool, replacing the ones set before.<I extends ToolInputGuardrail>
ToolGuardrailService.BuilderToolGuardrailService.Builder.inputGuardrails(@Nullable List<I> guardrails) Sets the input guardrails that apply to every tool, replacing the ones set before.ToolGuardrailService.Builder.inputGuardrailsConfig(ToolInputGuardrailsConfig config) Configures the input guardrails of every tool.default <O extends ToolOutputGuardrail>
ToolGuardrailService.BuilderToolGuardrailService.Builder.outputGuardrailClasses(Class<? extends O>... guardrailClasses) Sets the classes of the output guardrails that apply to every tool, replacing the ones set before.<O extends ToolOutputGuardrail>
ToolGuardrailService.BuilderToolGuardrailService.Builder.outputGuardrailClasses(@Nullable List<Class<? extends O>> guardrailClasses) Sets the classes of the output guardrails that apply to every tool, replacing the ones set before.<O extends ToolOutputGuardrail>
ToolGuardrailService.BuilderToolGuardrailService.Builder.outputGuardrails(@Nullable List<O> guardrails) Sets the output guardrails that apply to every tool, replacing the ones set before.default <O extends ToolOutputGuardrail>
ToolGuardrailService.BuilderToolGuardrailService.Builder.outputGuardrails(O... guardrails) Sets the output guardrails that apply to every tool, replacing the ones set before.ToolGuardrailService.Builder.outputGuardrailsConfig(ToolOutputGuardrailsConfig config) Configures the output guardrails of every tool. -
Uses of ToolGuardrailService.Builder in dev.langchain4j.service.guardrail.spi
Methods in dev.langchain4j.service.guardrail.spi that return ToolGuardrailService.BuilderModifier and TypeMethodDescriptionToolGuardrailServiceBuilderFactory.getBuilder(Class<?> aiServiceClass) Gets an instance of theToolGuardrailService.Builder