This is a chatbot that provides information and resources for various programming languages. It uses prompt-based learning powered by OpenAI's GPT-3 model to generate contextually relevant responses.
Programming Language Chatbot is a Python-based application that enables users to interact with a chatbot and get information about programming languages. The chatbot uses OpenAI's GPT-3 model to generate informative responses based on user input.
- Provides information and resources for different programming languages.
- Utilizes OpenAI's GPT-3 model for generating responses.
- Interactive chat interface powered by Gradio.
To run the chatbot locally, follow these steps:
-
Clone the repository:
git clone https://github.com/your-username/Learn-GPT.git cd Learn-GPT
-
Install the required dependencies:
pip install -r requirements.txt
3.Set up your OpenAI API key:
- Sign up for an account at OpenAI (https://openai.com/).
- Generate an API key.
- Replace the placeholder YOUR_API_KEY in the code with your actual API key.
4.Launch the chatbot:
python test.py