Skip to content

Create own Chatbot Using ChatGpt openAI and How to use OpenAl

Notifications You must be signed in to change notification settings

aviggithub/ChatGpt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

ChatGpt :- How to Build Your Own AI Chatbot With ChatGPT API

Create own Chatbot Using ChatGpt openAI and How to use OpenAl Services and API

How to Build Your Own AI Chatbot With ChatGPT API:

System Requirements

Python Version

To use this software, you must have Python 3.8 or later installed. Earlier versions of Python will not compile.

Environment Setup

In order to set your environment up to run the code here, first install all requirements:

pip install -r requirements.txt

Change API key in chatgpt_chatbot_webapp.py file

openai.api_key = "Your Key"

Then Run the following command to Start Streamlit chatbot web Application :-

streamlit run chatbot_gpt_stramlit.py

You can now view your Streamlit app in your browser.

Local URL: http://localhost:8501

above instruction to build your own AI chatbot with ChatGPT API. From setting up tools to installing libraries, and finally, creating the AI chatbot from scratch, we have included all the small details for general users here.