Skip to content

Commit add3753

Browse files
committed
housekeeping
1 parent daf83cc commit add3753

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

manifest.md

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
## Context Summary
44
- Project: RethinkAI Dorchester community assistant combining SQL, RAG, and hybrid LLM routing.
5-
- Key code: `main_chat/main_chat.py` (routing + cache), `api/api.py` (Flask API v2.0), static frontends `public/` (prod-style) and `test_frontend/` (tester UI).
6-
- Data: MySQL tables (311/911/events) and Chroma-style vector DB in `main_chat/vectordb_new`. Ingestion lives in `main_chat/data_ingestion/`.
7-
- Auth: API key header `RethinkAI-API-Key` is required; default sample key `banana`.
5+
- Key code: `main_chat/main_chat.py` (routing + cache), `api/api.py` (Flask API v2.0), static frontends `public/` (prod-style)
6+
- Data: MySQL tables (311/911/events) and Chroma-style vector DB in `main_chat/vectordb`. Ingestion lives in `main_chat/data_ingestion/`.
7+
- Auth: API key header `RethinkAI-API-Key` is required
88

99
## Architecture
1010
- **Client**: Vanilla HTML/CSS/JS frontends (`public`) call REST API at `http://127.0.0.1:8888` with API key; show chat, events, API tester.
@@ -21,12 +21,11 @@
2121
- Core logic: `main_chat/chat_route.py` (env bootstrap, vectordb path fix, LLM client setup, routing, cache mgmt, history reuse).
2222
- Data ingestion: `main_chat/data_ingestion/` (Google Drive/email sync, DB setup, vector rebuild) — not part of runtime API but seeds data.
2323
- Frontends: `public/` (production-like static UI); configurable `API_BASE_URL` and `API_KEY` in JS.
24-
- Prompts/config: `api/prompts/`, `.env` at repo root (copy from `example_env.txt`).
2524

2625
## Dependencies (runtime highlights)
2726
- Python 3.11+, Flask 3.x, mysql-connector-python, google-genai, dotenv, pandas/numpy, plotly/dash (legacy), httpx/requests.
2827
- MySQL 8.x for structured data.
29-
- Vector store: Chroma-style files under `main_chat/vectordb_new`.
28+
- Vector store: Chroma-style files under `main_chat/vectordb`.
3029
- Frontend: vanilla JS/CSS, served via `python -m http.server` (no build).
3130

3231
## Data Flow
@@ -69,7 +68,5 @@
6968
- Document schema for 311/911 tables in `dataset-documentation/` and link from API docs.
7069

7170
## Assorted Notes
72-
- Frontend default API key `'banana'` must match `.env` `RETHINKAI_API_KEYS`.
73-
- `api/api.py` and `/data/query` legacy endpoints are deprecated; prefer `api.py`.
7471
- LLM defaults to `gemini-2.5-flash-lite`; override via env `GEMINI_MODEL`.
7572

0 commit comments

Comments
 (0)