NeMo-Guardrails
NeMo-Guardrails copied to clipboard
NeMo Guardrails is an open-source toolkit for easily adding programmable guardrails to LLM-based conversational systems.
Add a new standard library `debug.co` that contains flows that will print and log common Colang issues by default when imported
I am using the Nemo guardrails for off-topic rail functionality here is the **config.yml** file content ``` instructions: - type: general content: | You are an AI assistant that supports...
Can someone please assist me in solving the error: I have a conversation chain set up with the help of langchain but the issue that keeps arising is that there...
I am implementing nemo-guardrails for `conversationchain` from `langchain` following this [guide](https://github.com/NVIDIA/NeMo-Guardrails/blob/develop/docs/user_guides/langchain/chain-with-guardrails/README.md). First i tried `invoke` approach: ``` config = RailsConfig.from_path("../backend/guardrail_config/") guardrails = RunnableRails(config=config, passthrough=False) chain_with_guardrails = guardrails | chat chain_with_guardrails.invoke({"input":"For...
Following is the code for the case when single_call is False ln 400 generation.generate_user_intent(): ```python # We make this call with temperature 0 to have it as deterministic as possible....
[This line](https://github.com/NVIDIA/NeMo-Guardrails/blob/develop/nemoguardrails/logging/verbose.py#L45) checks whether there is a `::` in the message but the line after it splits on `" :: "`, with spaces around the colons. If the message contains...
I am currently looking for ways on how to integrate NeMo Guardrails in my Langchain Agents setup. As I understand the README, official Agent is coming soon, so I wanted...
Tried to connect NeMo with Microsoft Azure like in [this issue](https://github.com/NVIDIA/NeMo-Guardrails/discussions/249#discussioncomment-8158036) explained. My config.yml is like this: `type: main engine: azure model: gpt-4 parameters: azure_endpoint: https://*******/ api_version: 2023-07-01-preview deployment_name: gpt-4-0613-preview...
I have found an issue with the tool when trying to use guardrails with the knowledge base. The system appears to always ignore the knowledge base whenever using the guardrails...
Hello! I have a project for my own llm that uses sentence-transformers and huggingface_hub which have dependency issues with latest version of nemoguardrails. System: MacOS Sonoma 14.2.1 conda env Python...