nemoguardrails.actions.llm_judge
nemoguardrails.actions.llm_judge
Shared helpers for library rail actions that use an LLM as a judge.
Not Colang-specific, unlike nemoguardrails.actions.llm.
Module Contents
Functions
Data
API
Resolve model_name in llms, raising a clear error if it’s missing or unknown.
async
Call the judge llm with the already-rendered prompt and parse the response.
Uses the prompt’s own output_parser, which compile-time validation guarantees is
declared and registered (see compiled_rail.py’s _reject_invalid_tool_safety_check_prompt).