NeMo-Guardrails
NeMo-Guardrails copied to clipboard
Add the option to disable loading default config
Thanks so much for making this awesome project open-source!
Here is a small pet peeve about the current design: at the moment from_content always loads the default instructions, together with the dir-loading branch offrom_path. Since the default config is only relevant for NVIDIA, should we make this behavior opt-in?
Hi @aptlin! The default config is not meant to be NVIDIA-specific. In the default sample conversation, the question "Tell me a bit about the history of NVIDIA" is meant as an example of a general question. It could have been "Who invented the internet?" or anything else. Did you notice any unintended behaviour because of that?
Currently, without a sample conversation, the LLM will not perform as well in predicting the canonical forms for user and bot messages. That's why there's the option to override it, by specifying your own, or use the default one. But not remove it completely.
Makes sense, thanks! Not sure if it gets overriden though in the cases I've listed above, because _join_config just appends the instructions.
Indeed, you are right. It does not get overridden. Will push a fix shortly. Thanks for catching this!
Should be fixed now. Will be included in the next release. Thanks again!