Giter VIP home page Giter VIP logo

chatgpt_clone's Introduction

Django Chatbot with OpenAI API Integration

This is a Django-based chatbot application that leverages the OpenAI API for natural language processing and conversation generation.

Example Image

Prerequisites

  • Python (version 3.11.7)
  • Django (version 3.2.20)
  • OpenAI API key (version 0.28)

Getting Started

1. Clone the Repository

git clone https://github.com/denisganga/chatgpt_clone.git

cd django-chatbot

2. Setup Virtual Environment

# Create a virtual environment
python3 -m venv myenv

# Activate the virtual environment
# On Windows
myenv\Scripts\activate
# On Unix or MacOS
source myenv/bin/activate

3. Install dependancies

pip install -r requirements.txt

4. Set Up OpenAI API Key

From the OpenAi website get your API key and add it in your views.py file

5. Apply Migration

python3 manage.py makemigrations
python3 manage.py migrate

6. Run the development server

python3 manage.py runserver

7. Features

  1. Login Page
  2. Register Page
  3. Conversational chatbot powered by OpenAI API.

8. Usage

Type on the message box and the chatbot will respond to you

9. Contribution

Contribution is welcomed, I Welcome Your Pull Requests: Contribute to the Chatbot

10. License

This project is licensed under the MIT_License.

11. Acknowledgements

OpenAI for providing the powerful natural language processing capabilities.

chatgpt_clone's People

Contributors

denisganga avatar

Stargazers

Korir Billy avatar Smartwa avatar  avatar

Watchers

Kostas Georgiou avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.