Package akka.javasdk.agent
Interface GuardrailContext
public interface GuardrailContext
Context information available to a guardrail constructor. Context information available during
Guardrail construction and initialization. This gives access to the name and
configuration.-
Method Summary
Modifier and TypeMethodDescriptionA client for invoking a configuredClassifier, e.g.com.typesafe.config.Configconfig()The config section for the specific guardrail.name()The name of the guardrail.
-
Method Details
-
name
String name()The name of the guardrail. -
config
com.typesafe.config.Config config()The config section for the specific guardrail. -
classifierClient
ClassifierClient classifierClient()A client for invoking a configuredClassifier, e.g. to inform the decision.
-