class LLMGuardRuntime(BaseRuntime):
GUARDPROMPT
)None
)False
)def __init__(
self,
prompt: str = GUARDPROMPT,
model: Optional[BaseModelBackend] = None,
verbose: bool = False
):
def add(
self,
funcs: Union[FunctionTool, List[FunctionTool]],
threshold: int = 2
):
2
)def reset(self):