GuardrailCodeCallbackBeforeModelCallback constructor
const
GuardrailCodeCallbackBeforeModelCallback({})
Creates a new GuardrailCodeCallbackBeforeModelCallback.
description Human-readable description of the callback.
disabled Whether the callback is disabled. Disabled callbacks are ignored by the
pythonCode The python code to execute for the callback.
Implementation
const GuardrailCodeCallbackBeforeModelCallback({
this.description,
this.disabled,
required this.pythonCode,
});