Add FastAPI dashboard MVP
This commit is contained in:
19
README.md
19
README.md
@@ -8,7 +8,8 @@ An embeddable, offline-first memory system for AI agents with correctness tracki
|
||||
- **ChromaDB Vector Store** (`src/chroma_store.py`) — Semantic similarity search
|
||||
- **Neural Confidence Scorer** (`src/neural_scorer.py`) — PyTorch RL net, trains on confirm/reject feedback
|
||||
- **Hybrid Retrieval** (`src/retriever.py`) — Keyword + Semantic + Neural fusion
|
||||
- **Streamlit Dashboard** (`src/app_dashboard.py`) — Search, confirm/reject, neural training UI
|
||||
- **FastAPI Dashboard** (`fastapi_app.py`) — Lightweight web UI (search + confirm/reject) and JSON API
|
||||
- **Streamlit Dashboard** (`src/app_dashboard.py`) — (optional) richer UI for neural training, etc.
|
||||
- **Graph Visualization** (`src/graph_view.py`) — Interactive Cytoscape.js graph with confidence colors
|
||||
|
||||
## Architecture
|
||||
@@ -16,3 +17,19 @@ An embeddable, offline-first memory system for AI agents with correctness tracki
|
||||
## Obsidian
|
||||
|
||||
Setup and timers: `second-brain/docs/OBSIDIAN.md`
|
||||
|
||||
## Quickstart (Dashboard)
|
||||
|
||||
Install minimal dashboard deps:
|
||||
|
||||
`python3 -m pip install -r requirements-dashboard.txt`
|
||||
|
||||
Run:
|
||||
|
||||
`SECOND_BRAIN_WORKSPACE="$(pwd)" python3 fastapi_app.py`
|
||||
|
||||
Then open: `http://localhost:8501/`
|
||||
|
||||
Port is configurable via `SECOND_BRAIN_PORT` (or `PORT`), e.g.:
|
||||
|
||||
`SECOND_BRAIN_WORKSPACE="$(pwd)" SECOND_BRAIN_PORT=8502 python3 fastapi_app.py`
|
||||
|
||||
Reference in New Issue
Block a user