| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Workshop project. Build a structured query engine that turns natural language into validated MongoDB aggregation pipelines over GitHub PR and Issue data.
Semantic RAG finds similar documents — but it can't reason about time, traverse relationships, or apply precise filters. Agents need more than similarity search: they need structured, queryable access to the data behind their workflows.
You start with the whole app already built — a web UI with a query playground and a chat agent — but the query engine is a stub: every query comes back "not implemented yet." Across the steps you build the engine and watch the UI come alive. See PLAN.md.
bun installcp .env.example .env # then edit it — see "Your .env" belowA — Docker (simplest):
docker compose up -d # mongo:7 on localhost:27017The default MONGO_URI=mongodb://localhost:27017 already points at it.
B — You already run MongoDB (locally or in a container): skip Docker. Point MONGO_URI at your instance and use a dedicated DB name so you don't clash with existing data:
MONGO_URI=mongodb://localhost:27017 # or your host/container
MONGO_DB=dqe_workshopC — No Docker, no MongoDB: install MongoDB Community, or create a free Atlas cluster and set MONGO_URI to its connection string.
Already have a Mongo container on 27017? Use option B, or change the published port in docker-compose.yml and match MONGO_URI.
bun run db:init # create indexes; prints which Mongo it connected to
bun run ingest -- owner/repo # e.g. bun run ingest -- facebook/reactbun run serve # opens http://localhost:3000 — Query / Chat tabsThe app runs and the data browses — but the engine is stubbed, so a query (or a chat question) returns "not implemented yet." Building it is the workshop.
# GitHub: leave blank to use the `gh` CLI token, or paste a PAT.
GITHUB_TOKEN=
# LLM: set ONE. If OPENAI_API_KEY is present the engine uses OpenAI, else Anthropic.
ANTHROPIC_API_KEY=sk-ant-...
OPENAI_API_KEY=
# MongoDB
MONGO_URI=mongodb://localhost:27017
MONGO_DB=workshop
# Your GitHub login — treated as "me" / "my" in natural-language queries.
CALLER_LOGIN=your-github-login| Back | FazBrowse Home | New Git URL |