rig::cli_chatbot

Function cli_chatbot

source
pub async fn cli_chatbot(chatbot: impl Chat) -> Result<(), PromptError>
Expand description

Utility function to create a simple REPL CLI chatbot from a type that implements the Chat trait.