Ready to Use Code to have your own ChatBot using OpenAI API.
Also added WebApp Template for Reference! Thanks to Lyubomir
- This Codebase requires OpenAI API Key, kindly make sure you get one.
- Install Necessary Dependencies from 'requirements.txt'.
- Run : pip install -r requirements.txt
- Open and Store your API Key in "Code/BotDefinition.py".
- Run "Code/ChatBot.py" for Terminal Based ChatBot.
- Run "Code/GuiChatBot.py" for WebApp Based ChatBot.
- That's it! Just enter your prompts and get the responses.
- If you want to terminate the chat, just enter 'End Chat'.
- Use it in Terminal/CMD for quick response.
- Use it in Jupyter Notebook / Google Colab for more interactive and complex prompts.
- Use it in the BackEnd of any WebApp for enhanced functionality.
- Whatever and However you wish to use it!