nemoguardrails.library.self_check.input_check.actions
nemoguardrails.library.self_check.input_check.actions
Module Contents
Functions
Data
API
async
Checks the input from the user.
Prompt the LLM, using the check_input task prompt, to determine if the input
from the user should be allowed or not.
Returns: RailOutcome
RailOutcome.allow() if the input should be allowed, RailOutcome.block() otherwise.