use OpenAI playground in telegram Bot
Clone the project
git clone https://github.com/agildw/openai-telegrambot.git
Go to the project directory
cd openai-telegrambot
Install dependencies
npm install
Start the server
npm run start
To run this project, you will need to add the following environment variables to your .env file
OPENAI_API_KEY
TELEGRAM_BOT_TOKEN
OPENAI_TEMPERATURE
OPENAI_MAX_TOKENS
OPENAI_TOP_P
OPENAI_FREQUENCY_PENALTY
OPENAI_PRESENCE_PENALTY