Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NP x Verztec — Team 3

Lunar AI: AI-Powered Chatbot with Avatar

Lunar AI is an intelligent assistant designed to free up employees’ time by automating repetitive corporate-related queries, enabling teams to focus on what truly drives the business.


🧰 Tech Stack

Component Technology
Backend FastAPI + Python
Frontend Vite + React
Database MySQL (local instance)
Vector Store ChromaDB
Caching Layer Redis (local instance)
Model Inference LLaMA 3.2 via Ollama (self-hosted)

📁 Key Project Structure

root/

├── backend/ # FastAPI app logic

├── frontend/ # Vite + React frontend (avatar and UI)

├── pipeline/ # File processing

├── docs/ # System documentation and handover notes

├── SQL/ # SQL scripts for table creation

├── .env.example # Template for required environment variables

├── start-all.ps1 # Powershell startup script

└── README.md # This file


⚙️ System Requirements

Before setting up, ensure the following dependencies are installed:

  1. Ollama - for LLaMA model inference
    🔗 Download Ollama

  2. Redis (Windows MSI) - caching layer
    🔗 Download Redis msi

  3. MySQL Server + Workbench - database for user and session logging
    🔗 MySQL Enterprise Edition (Server)
    🔗 MySQL Workbench


🚀 Quickstart (Local Setup)

1️. Clone the Repository

git clone https://github.com/doubleu0-0/Np-x-Verztec-Team3.git
cd Np-x-Verztec-Team3

2. Set Up MySQL Database

  • Open MySQL Workbench
  • Execute the SQL scripts found in the SQL/ folder to create required tables and users.

3. Environment Variables

  • Copy .env.example and rename it to .env. Fill in the required values.

4. Docker Setup

docker-compose up --build

5. Set Up Python Virtual Environment

  • Run the following commands in a PowerShell terminal
cd backend

# Find your Python path (if unsure)
Get-Command python

# Example path:
# "C:\Program Files\Python38\python.exe"

# Create virtual environment (replace path with yours)
& "C:\Program Files\Python38\python.exe" -m venv venv

6. Start the Entire Stack

  • Create start-all.ps1 in the root directory using start-all.ps1.example
  • Open a new Powershell terminal and run the following command (Outside venv) (Only localhost)
.\start-all.ps1

OR

  • Create start-all-everywhere.ps1 in the root directory using start-all-everywhere.ps1.example
  • Open a new Powershell terminal and run the following command (Outside venv) (Usable from everywhere)
.\start-all-everywhere.ps1

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages