Skip to content

PhuocPhat1005/Advanced_Data_Analysis

Repository files navigation

ĐỒ ÁN CUỐI KỲ : PHÂN TÍCH DỮ LIỆU THÔNG MINH

PHÁT TRIỂN HỆ THỐNG PHÂN TÍCH DỮ LIỆU TÍCH HỢP LLMs TRÊN TẬP DỮ LIỆU PHỤ KIỆN THỜI TRANG TIKI

Final Project for Course Data_Analysis

Đầu tiên tạo file .env và set biến GOOGLE_API_KEY = "your_google_api_key"


🚀 Yêu cầu hệ thống

  • Python >= 3.11.9
  • pip
  • (Khuyến nghị) Virtual environment (venv)
  • node v22.14.0 (frontend)
  • npm 11.2.0 (frontend)

🛠️ Cài đặt

1. Clone repository:

git clone https://github.com/PhuocPhat1005/Advanced_Data_Analysis.git
cd advanced-data-analyst

2. Tạo môi trường cho server (nếu không dùng file .bat và .sh):

2.1. Tạo virtual environment:

python -m venv venv
source venv/bin/activate  # Linux/macOS
venv\\Scripts\\activate   # Windows

2.2. Cài đặt thư viện:

pip install -r requirements.txt

3. Tạo môi trường cho UI (nếu không dùng file .bat và .sh):

npm install
npm run build

▶️ Chạy ứng dụng

Cách 1. Sử dụng file .bat (Window) và .sh (Linux hoặc Mac):

Window:

start_app.bat

Linux hoặc MacOS:

chmod +x start_app.sh
start_app.sh

Cách 2. Sử dụng câu lệnh python:

Chạy Server:

python app.py

Hoặc:

uvicorn app:app --reload --port 800

Server mặc định sẽ chạy tại:

http://127.0.0.1:8000

Chạy UI Server:

cd frontend
npm run build
npm run start

UI Server mặc định sẽ chạy tại:

http://localhost:3000

📘 Swagger UI

Tài liệu API tự động (Swagger):

http://127.0.0.1:8000/docs

TÀI LIỆU

Pattern Recognition

About

Final Project for Course Data_Analysis

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors