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

How to get exception occurring within Nemoguardrails as output?

Open faisnain opened this issue 1 year ago • 1 comments

I'm looking for a way to override system function like generate user Intent, input check. I tried add function with @action(is_system=True) async def generate_user_intent(......).....

still I don't see any print statements that I kept there is being executed. btw, I'm trying this cause I want to get the error that occurs while executing LLM calls. I want to handle each exception differently in my code.

faisnain avatar Jul 18 '24 07:07 faisnain