NeMo-Guardrails icon indicating copy to clipboard operation
NeMo-Guardrails copied to clipboard

Inconsistent response format for `RunnableRails`.

Open drazvan opened this issue 1 year ago • 0 comments

If the output of a chain is a string, and it if the guardrails layer is blocking the input, or the output, the response format becomes a dict with the output key. There should be an option to always enforce a consistent format (either string or dict).

drazvan avatar Feb 07 '24 09:02 drazvan