NeMo-Guardrails
NeMo-Guardrails copied to clipboard
NeMo Guardrails is an open-source toolkit for easily adding programmable guardrails to LLM-based conversational systems.
Right now, the import fails silently and typically you get an "Action not found" error.
If "\n" is used inside a predefined bot message, it will be returned as is as part of the message. It should be translated to an actual `\n` character.
I set it with reference to the following, but the execution result is different between the document and the built environment, and it is not working properly.Please let me know...
If no main LLM model is configured, the following error might be triggered: ``` ERROR:nemoguardrails.actions.action_dispatcher:Error 'NoneType' object has no attribute 'agenerate_prompt' ``` This PR adds a clear message for this...
WIP. Still needs: - [x] configuration option to choose modes - [x] update all existing rails to comply - [ ] documentation - [ ] tests
I tried referring to this [guide](https://github.com/NVIDIA/NeMo-Guardrails/blob/develop/docs/user_guides/advanced/streaming.md) and use Ollama as the engine but got this message. How do i enable streaming for Ollama-based models?
Dear All, I try to use Nemo Guardrails with Aleph Alpha (LLM). My intention is to add guardrails to a LangChain chain. Please find below the code and the error...
Hi team, Is there any way to write or generate custom event?
Following the doc here: [https://github.com/NVIDIA/NeMo-Guardrails/tree/develop/docs/getting_started/7_rag](https://github.com/NVIDIA/NeMo-Guardrails/tree/develop/docs/getting_started/7_rag) ``` response = rails.generate(messages=[{ "role": "context", "content": { "relevant_chunks": """ Employees are eligible for the following time off: * Vacation: 20 days per year, accrued...