NeMo Guardrails Library CLI Reference
NeMo Guardrails Library CLI Reference
You should now be able to invoke the nemoguardrails CLI.
You can also use the --help flag to learn more about each of the nemoguardrails commands.
chat
Options
actions-server
Start a separate server for running custom actions in an isolated environment.
Options
server
Start the FastAPI server for serving guardrails configurations over HTTP.
Options
eval
Evaluate guardrail configurations with various testing and compliance workflows.
Subcommands
Use nemoguardrails eval <subcommand> --help for details on each subcommand.
convert
Convert Colang files and configurations from older versions to the latest format.
Arguments
Options
find-providers
List and select LLM providers interactively. This command helps you discover available providers for text completion and chat completion models.
Options
List Mode
Run the following command to list all available providers:
Interactive Mode
Run the command without options to start an interactive provider selection:
-
Select a provider type:
- Type to filter between “text completion” and “chat completion”.
- Use arrow keys to navigate through matches.
- Press Tab to autocomplete.
- Press Enter to select.
-
Select a specific provider:
- Type to filter through available providers.
- Use arrow keys to navigate through matches.
- Press Tab to autocomplete.
- Press Enter to select.