carbonxx / Learn-GPT

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Learn-GPT

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.

Introduction

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.

Features

  • Provides information and resources for different programming languages.
  • Utilizes OpenAI's GPT-3 model for generating responses.
  • Interactive chat interface powered by Gradio.

Installation

To run the chatbot locally, follow these steps:

  1. Clone the repository:

    git clone https://github.com/your-username/Learn-GPT.git
    cd Learn-GPT
    
  2. 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


About


Languages

Language:Python 100.0%