Uses of Interface
dev.langchain4j.service.guardrail.ToolGuardrailService
Packages that use ToolGuardrailService
Package
Description
-
Uses of ToolGuardrailService in dev.langchain4j.service
Methods in dev.langchain4j.service that return ToolGuardrailServiceModifier and TypeMethodDescriptionAiServiceContext.toolGuardrailService()The service that executes the tool guardrails, built fromAiServiceContext.toolGuardrailServiceBuilderon first use. -
Uses of ToolGuardrailService in dev.langchain4j.service.guardrail
Methods in dev.langchain4j.service.guardrail that return ToolGuardrailService -
Uses of ToolGuardrailService in dev.langchain4j.service.tool
Methods in dev.langchain4j.service.tool that return types with arguments of type ToolGuardrailServiceModifier and TypeMethodDescriptionToolService.toolGuardrailService()The service that executes the tool guardrails, if one was set.ToolServiceContext.toolGuardrailService()Returns the service that executes the tool guardrails, and binds the tools that have no key (the tools that are provided while the invocation runs, or a framework did not bind), if one is set.Methods in dev.langchain4j.service.tool with parameters of type ToolGuardrailServiceModifier and TypeMethodDescriptionvoidToolService.toolGuardrailService(ToolGuardrailService toolGuardrailService) Sets the service that executes the tool guardrails, and binds every tool registered so far to it (the tools registered later are bound when they are registered, and the tools ofToolProviders when they are provided).ToolServiceContext.Builder.toolGuardrailService(@Nullable ToolGuardrailService toolGuardrailService) Sets the service that executes the tool guardrails, and binds on demand the tools that have no key.