nemoguardrails.library.factchecking.align_score.actions
nemoguardrails.library.factchecking.align_score.actions
Module Contents
Functions
Data
API
async
Checks the facts for the bot response using an information alignment score.
Mapping for alignscore_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.