This repository presents a Simple Chatbot application powered by the DeepSeek-V3 model. Designed with a mix of CSS, JavaScript, Python, and HTML, it combines visually appealing design with intelligent conversational capabilities. The project exemplifies the seamless integration of AI-driven dialogue systems with a polished user experience.
- Introduction
- Prerequirements
- Project Structure
- Model
- Features
- Installation
- How to get API Access Token
- Usage
- License
or above: Download here
- Hugging Face account: Sign up here
simple-chatbot/
├── static/
│ ├── css/
│ │ └── style.css
│ ├── script.js
│ └── icons...
├── templates/
│ └── index.html
├── .gitignore
├── app.py
├── requirements.txt
├── .env.example
├── LICENSE
└── README.md
- deepseek-ai/DeepSeek-V3 (You can use different models)
Respond to user questions.
To install this project, open your Terminal and follow these steps:
-
Clone the repository:
$ git clone https://github.com/arthurtran04/simple-chatbot.git
-
Change the directory to
simple-chatbot
:$ cd "$(find . -type d -name "simple-chatbot")"
-
Create a Python virtual environment
.venv
and install the required dependencies:$ python3 -m venv .venv source .venv/bin/activate pip install -r requirements.txt
-
Set up environment variables:
$ cp .env.example .env
-
Configure your
.env
file:# Hugging Face API Token API_TOKEN=
1. Go to Hugging Face website, click your avatar and click "Access Tokens"

5. Copy your Access Token before closing and paste it into the API_TOKEN
variable inside the .env
file


To start the application, run the app.py
file:
$ python app.py
This application will run locally at http://127.0.0.1:5000
:

The UI:

Enter your prompt in the textbox below, and the chatbot will respond:

To stop the application, use Ctrl + C
in the Terminal
This project is licensed under the MIT License. See the LICENSE file for more details.