This is a telegram chat bot that uses "text-davinci-003" engine to provide intlligent reply to user. Telegram is a widely used messenger app, and this bot enables telgram users to interact with AI
- Thejus Asokan [https://github.com/IamThejus]
- Alan Antony [https://github.com/stone-PETER]
Ffyiy2mhUwez530un5Pj
G-Drive https://drive.google.com/file/d/1c4Mg_f_1UcGQZC0Qy3N23t88ADBo00VA/view
This program runs on python.It uses two libraries.It use API for interacting with the AI,the program takes output from the user through the telegram messages and reply the message using OpenAI.
openai - 0.26.1, pyTelegramBotAPI - 4.7.0
First install the necessary modules , for that copy the given commands and run it on the command prompt
pip install openai
pip install pyTelegramBotAPI
Second set a telegram bot , for that go to telegram and type BotFather select the user with blue tick, next click Start button, then a number of options will be given from there select /newbot.Then choose a name for your bot and enter it. The bot will give you an API , copy it and paste in .After that log in in openai and get your own API and paste it in .After making sure these procedures are done,save the file and run the program.
To run the file , download the file named 'main.py' and run it the python IDE