Skip to content

Yevgnen/chatgpt_bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Table of Contents TOC

Introduction

Simple ChatGPT Telegram bot written in Rust.

Build & Run

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.

Support commands

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.

About

Simple ChatGPT Telegram bot written in Rust.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages