nemoguardrails.library.self_check.facts.actions
nemoguardrails.library.self_check.facts.actions
Module Contents
Functions
Data
API
Mapping for self_check_facts.
Expects result to be a numeric score (float) representing the factual accuracy. Returns True (i.e. block the output) if the score is below 0.5.
async
Checks the facts for the bot response by appropriately prompting the base llm.