NVIDIA / NeMo-Guardrails

NeMo Guardrails is an open-source toolkit for easily adding programmable guardrails to LLM-based conversational systems.
Other
4.18k stars 397 forks source link

Fix/cli server command #723

Closed Pouyanpi closed 2 months ago

Pouyanpi commented 2 months ago

Move import to server function scope. This prevents errors when the default examples or chat-ui folders do not exist for any reason and the user intends to use other commands like chat, migrate or eval.

It also improves the FileNotFoundError message