Nemo Guardrails error message

Hi help needed:

I’ve been trying quite a while to solve an error regarding the def rag() in the Nemo Guardrails for a RAG, but have not been successful. The error message is “Error while execution ‘rag’ with parameters ‘{}’: rag() missing 1 required positional argument: ‘query’
rag() missing 1 required positional argument: ‘query’
Traceback (most recent call last):
File “/usr/local/lib/python3.10/dist-packages/nemoguardrails/actions/action_dispatcher.py”, line 212, in execute_action
result = fn(**params)
TypeError: rag() missing 1 required positional argument: ‘query’”.

The codes are posted here: GitHub - 142CodeGreen/RAG-with-NeMo-Guardrails: using NVIDIA NIM, NVIDIA NeMo Guardrails, LlamaIndex, Gradio and Milvus

Kindly help to point a direction as I’ve been trying in circles without a success but was determined to keep the “self check hallucination” in the rails.

Thanks in advance!