Skip to content

Latest commit

 

History

History
69 lines (63 loc) · 1.37 KB

README.org

File metadata and controls

69 lines (63 loc) · 1.37 KB

CSE115A Intro to Software Management: Winter 2024

Authors (in no particular order)

  • Nick Puckdee
  • Vincent Liu
  • Ish Khandelwal
  • Sairithvik Ventrapragada
  • Sathvik Singireddy
  • Andy Bruce

./assets/logo.png

Frontend

cd frontend
npm install

Test build

npm start

Production build

npm run build

Static html will be in frontend/build, can be served with any HTTP server of choice.

#example server
python3 -m http.server

Backend

cd backend
# clone submodules
git submodule update --init --recursive

Build instructions

cargo build

Running

./run.sh

Start Vector Database

./qdrant.sh

AI runner

cd llama.cpp
mkdir build
cd build
cmake .. -DLLAMA_CUBLAS=ON
cmake --build . --config Release

Run AI runner

./llama.sh

Endpoints

For the frontend endpoints are defined in ./frontend/src/backend_interface.ts. For the backend endpoints are defined in ./backend/crates/server_backend/src/api_structs.rs. Keep these files in sync or the code is going to get messy.