Simple ChatGPT Telegram bot written in Rust.
OPENAI_API_KEY=[YOUR_API_KEY] TELOXIDE_TOKEN=[YOUR_TOKEN] cargo run --release
Replace [YOUR_API_KEY]
with your OpenAI API key and [TELOXIDE_TOKEN]
with you bot token.
Type /help
the chat window to see supported commands:
These commands are supported:
/help — display this text.
/prompt — set prompt text.
/chat — chat with gpt.
/view — view chat histories.
/clear — clear history chats.