Skip to content

This is a simple chatbot application built using Flask and DeepSeek AI. The application includes user authentication, a chat interface, and a deep learning model for generating chatbot responses.

Notifications You must be signed in to change notification settings

notesparvvaresh/deepspeek

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flask Chatbot Application

Overview

This is a simple chatbot application built using Flask and DeepSeek AI. The application includes user authentication, a chat interface, and a deep learning model for generating chatbot responses.

Features

  • User registration and authentication
  • Chat interface with AI-generated responses
  • SQLite database for user management
  • Dockerized for easy deployment

Prerequisites

Make sure you have the following installed before running the application:

  • Python 3.9+
  • Docker
  • pip

Installation

  1. Clone the repository:

    git clone https://github.com/parvvaresh/deepspeek
    cd deepspeek
  2. Install dependencies:

    pip install -r requirements.txt
  3. Download the deep learning model:

    chmod +x dl_model.sh
    ./dl_model.sh
  4. Initialize the database:

    python app.py

Running the Application

Using Python

python app.py

Using Docker

  1. Build the Docker image:
    docker build -t flask-chatbot .
  2. Run the container:
    docker run -p 9090:9090 flask-chatbot

API Endpoints

  • GET / - Home page
  • GET /register - Registration page
  • POST /register - Handle user registration
  • GET /login - Login page
  • POST /login - Handle user login
  • GET /chat - Chat interface
  • POST /chat - Get AI-generated chatbot response

Technologies Used

  • Flask
  • SQLite
  • Bcrypt
  • Ollama AI
  • Docker

License

This project is open-source and available under the MIT License.

About

This is a simple chatbot application built using Flask and DeepSeek AI. The application includes user authentication, a chat interface, and a deep learning model for generating chatbot responses.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published