Skip to content

Sam-Radnus/AI-ChatBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Web App for Language Model Communication using React, Django, and WebSockets

DEMO

https://www.youtube.com/watch?v=1Zlipw28ll4

Description

This project showcases a web application built using React and Django that communicates with a deployed Language Model (LLM) through WebSockets. The web app provides a user interface for users to interact with the LLM in real-time, sending input data and receiving model-generated responses through the power of WebSockets.

The primary objective of this project is to demonstrate how to integrate a dynamic frontend framework (React) with a robust backend framework (Django) and leverage WebSockets for efficient and low-latency communication with a deployed LLM.

Features

  • Real-time interaction with the Language Model through WebSockets.
  • Seamless integration of React for a responsive and dynamic user interface.
  • Utilization of Django for managing server-side logic and communication.
  • Clear documentation and setup instructions to help users understand and utilize the application.

Technologies Used

  • Frontend: React
  • Backend: Django , Django Rest Framework

Setup and Usage

  1. Clone the repository:
    git clone https://github.com/your-username/your-web-app-repo.git
    cd project-repo
  2. Install frontend dependencies and build the React app:
cd project
npm install
npm run build
  1. Install backend dependencies:
cd server
  1. Run the Django development server:
python manage.py runserver

Access the web app in your browser at http://localhost:8000.

Interact with the Language Model through the web app and observe real-time responses.

Contributing Contributions are welcome! If you'd like to contribute to the project, please follow the same steps mentioned in the previous README template.