Skip to content

This is a Django-based chatbot web application that integrates with OpenAI models via OpenRouter. It features user registration, login, and a simple chat interface.

Notifications You must be signed in to change notification settings

akshaykarthicks/Retro_Chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django Chatbot App

This is a Retro style Django-based chatbot web application that integrates with OpenAI models via OpenRouter. It features user registration, login, and a simple chat interface.open coode from livikit

image image image

Features

  • User registration and authentication
  • Chat interface powered by OpenAI (via OpenRouter)
  • Stores chat history (if enabled)

Requirements

  • Python 3.10+
  • Django 4.x or 5.x
  • openai Python package

Setup Instructions

  1. Clone the repository

    git clone <your-repo-url>
    cd DjAI/chatbot
  2. Create and activate a virtual environment (optional but recommended)

    python -m venv venv
    source venv/bin/activate  # On Windows: venv\Scripts\activate
  3. Install dependencies

    pip install django openai
  4. Set up environment variables

    • Set your OpenAI/OpenRouter API key in your environment or directly in views.py (not recommended for production).
  5. Apply migrations

    python manage.py migrate
  6. Run the development server

    python manage.py runserver
  7. Access the app

Usage

  • Register a new user account.
  • Log in with your credentials.
  • Start chatting with the AI in the chat interface.

About

This is a Django-based chatbot web application that integrates with OpenAI models via OpenRouter. It features user registration, login, and a simple chat interface.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published