Lexiverse
Lexiverse - 영어 학습자를 위한 AI 기반 문맥 독해 엔진
AI-Native Piano Learning RAG Assistant - live & free (GitHub Pages -> Google Cloud Run -> Neon pgvector -> Groq): ingestion + query pipeline (rewrite -> hybrid search/RRF -> rerank -> LLM) with citati
교육GitHub @shayeeboy온라인운영자 미확인
써 보셨어요? 한 번만 눌러 주세요. 로그인은 필요 없어요.
저장소 정보는 아직 수집하지 않았습니다.
아직 감지된 업데이트가 없습니다. GitHub 릴리스가 나오면 여기에 보입니다.
AI-Native Piano Learning RAG Assistant - live & free (GitHub Pages -> Google Cloud Run -> Neon pgvector -> Groq): ingestion + query pipeline (rewrite -> hybrid search/RRF -> rerank -> LLM) with citations, guardrails, and built-in observability (latency/tokens/cost) persisted to a searchable DB. Node.js, no paid APIs.
README 전체를 불러오는 중입니다.
README 전문 보기 ↗A retrieval-augmented generation (RAG) assistant over a piano-learning knowledge base, built in three phases: an offline ingestion pipeline, a query-time assistant, and free off-localhost hosting with built-in observability. Everything runs on free/local, open-source components by default; the only optional hosted piece (the LLM in Phase 3) uses a free tier — no paid API anywhere. Built as part of My AI Portfolio alongside the AI-Native Team Diagnostic.
A static GitHub Pages chat front end calling a Google Cloud Run backend (Express + local retrieval/rerank) with Groq doing the reasoning and Neon holding the vectors — all on free tiers, $0.
Problem. Piano method books and exercise references (Chang's Fundamentals of Piano Practice, Hanon's Virtuoso Pianist) are long, unindexed, and don't map to how a learner actually asks questions — "what should I do about a weak 4th finger" doesn't correspond to any table of contents entry. This project builds a full RAG system to solve that retrieval problem end-to-end, deliberately architected the way an enterprise knowledge-base assistant would be: hybrid search, reranking, citations, guardrails, and production observability — not a toy demo. The piano corpus is the test case; the pattern (turn a large, domain-specific document set into a cited, guarded Q&A service) is the same shape as an internal enterprise KB over policy docs, runbooks, or onboarding material.
User. Primary (as built): a self-directed piano learner asking practice and technique questions in natural language and getting a cited, grounded answer instead of a manual search through 200+ pages. Enterprise analogue: a new employee or support agent querying an internal knowledge base instead of keyword-searching a wiki — same retrieval and trust problem (does the answer cite the right source, and does the system know when to say "I don't know"), different corpus.
Objective. Build a production-shaped RAG architecture — hybrid retrieval, reranking, cited generation, and refusal guardrails — on a real, non-trivial corpus, with the discipline of a system built to be trusted, not just demoed. The piano knowledge base is the test bed; the actual objective is showing the pattern works end-to-end: ingest a real document set, retrieve accurately, generate only from what's retrieved, and know when to say "I don't know." That pattern is what would transfer to an enterprise KB, not the piano content itself.
Enterprise applicability. What's being demonstrated is the operational lifecycle of a production RAG platform, exercised end-to-end — ingestion, hybrid retrieval, evaluation (a deterministic LLM-judge), observability (per-request tracing), deployment (free-tier, off-localhost), governance (cited answers, refusal guardrails, source attribution), and continuous improvement (nightly eval + benchmark). The piano books are just the test corpus; that lifecycle is the transferable part.
Success metric. Two tiers, deliberately kept separate:
npm run bench, sampled from a 120-question bank, run nightly until target) — a large enough sample for latency / grounded rate / cost to be statistically meaningful, not a handful of hits.live queries — test traffic by design, not a claim of real-world usage.npm run eval): Hit@5 100% (8/8) · MRR 0.938 · out-of-scope refusal 100% (2/2).npm run eval:judge): a deterministic judge scores answer correctness, hallucination rate, and a semantic Hit@5 over a larger golden set — see Phase 4.Acceptance criteria (retrieval quality). Concrete, checkable targets — each with how it's verified and where the automated test lives:
여기까지가 README 앞부분입니다. 나머지는 원문에서 읽을 수 있습니다. README 전문 보기 ↗