NeMo-Guardrails icon indicating copy to clipboard operation
NeMo-Guardrails copied to clipboard

Hallucination guardrail not running

Open sjay8 opened this issue 1 year ago • 0 comments

Hi all! Really struggling with trying to run hallucination guardrail. When I run the info.print_llm_calls_summary(). The self_check_hallucination is not being called.

I even tried just calling check_hallucination based on actions.py file here: https://github.com/NVIDIA/NeMo-Guardrails/blob/develop/nemoguardrails/library/hallucination/actions.py

However, it's still not being called based on the info.print_llm_calls_summary().

I am a bit unsure of what content I should provide in my colang file as there are many different examples across Nemo's documentation. This is the one I'm using again based on this example colang file here:

https://github.com/NVIDIA/NeMo-Guardrails/blob/develop/nemoguardrails/library/hallucination/flows.co

Any help would be greatly appreciated! Thanks!

sjay8 avatar Aug 06 '24 21:08 sjay8