nemoguardrails.cli.chat
Module Contents
Classes
Functions
Data
API
Asynchronously run a chat session in the terminal.
Parameters:
The path to the configuration file. Defaults to None.
Whether to run in verbose mode. Defaults to False.
Whether to enable streaming mode. Defaults to False.
The URL of the chat server. Defaults to None.
The configuration ID. Defaults to None.
Simple chat loop for v2.x using the stateful events API.
Extract the text content of a scene event as a string.
Parses a event string and creates an event dictionary.
Run a chat session in the terminal.
Parameters:
The path to the configuration file. Defaults to None.
Whether to run in verbose mode. Defaults to False.
Whether to print the prompts and the completions. Defaults to False.
Whether to enable streaming mode. Defaults to False.
The URL of the chat server. Defaults to None.
The configuration ID. Defaults to None.