Skip to main content
The chat command starts an interactive chat session with an AI agent.

Usage

praisonai chat [OPTIONS] [PROMPT]

Arguments

ArgumentDescription
PROMPTInitial prompt for the chat session

Options

OptionShortDescriptionDefault
--model-mLLM model to usegpt-4o-mini
--verbose-vVerbose outputfalse
--memoryEnable memory persistencefalse
--tools-tTools file path
--user-idUser ID for memory isolation
--session-sSession ID to resume

Examples

Start a chat session

praisonai chat

Chat with initial prompt

praisonai chat "Hello, how can you help me today?"

Chat with specific model

praisonai chat --model gpt-4o "Explain machine learning"

Chat with memory enabled

praisonai chat --memory "Remember my name is Alice"

Resume a previous session

praisonai chat --session abc123

Interactive Commands

During a chat session, you can use these commands:
CommandDescription
/exitExit the chat session
/clearClear conversation history
/helpShow available commands
/sessionShow current session info
/historyShow conversation history
/newStart a new session

See Also