Open austinmw opened 1 year ago
I was able to put the callback in RetrievalQA init to get it to run, but of course Chainlit can’t see what NeMo is doing and display it in the UI
Hey @austinmw! Yes, NeMo Guardrails uses callbacks (this his how the verbose logging is done). However, they're not directly exposes. If you want to test quickly, you can do a monkey patching and add your callbacks to the logging_callbacks
here: https://github.com/NVIDIA/NeMo-Guardrails/blob/main/nemoguardrails/logging/callbacks.py .
Same here, I can't seem to get chainlit callbacks to work!
Hi, does this library support LangChain callbacks? I'd like to use Chainlit, which requires callbacks, but not sure how. This is what I'm attempting: