Ask OLake
A cited, honest docs assistant for OLake: hybrid search over docs, repos and issues, open-weight LLMs, and a one-tag embeddable chat widget.
About the project
Ask OLake is a documentation assistant for OLake (database and Kafka ingestion into Apache Iceberg / Parquet) and OLake Fusion (Iceberg table maintenance). It answers only from the official docs, blog, the four OLake GitHub repos and resolved GitHub issues. Every answer cites its sources, and it says plainly when it doesn’t know.
How it works
- Ingestion: scrapes the rendered olake.io docs from the sitemap (not the raw MDX, which misses shared snippets), clones the olake, olake-ui, olake-helm and olake-fusion repos (READMEs, Helm values, connector spec.json flattened per field, licenses) and pulls closed, discussed GitHub issues. Heading-aware chunks keep their “Page > Section” breadcrumb; long tables keep their header row in every piece.
- Retrieval: BM25 (with light stemming, typo correction and docs-vocabulary synonyms) fused with open-source model2vec embeddings (potion-base-8M, running inside our own server) via Reciprocal Rank Fusion, then a heuristic rerank by source trust and section titles. No vector DB.
- Answering: open-weight DeepSeek V4.1 Flash, with Gemini 2.5 Flash-Lite and open-weight GLM-4.7-Flash as fallbacks via OpenRouter, plus hedged requests for slow responses. Citations are enforced in code: sources come only from the [n] markers that match retrieved chunks, and code blocks are never rewritten.
- Production: POST /ask, SSE streaming, rate limits, a daily budget cap, an answer cache, /healthz, /version and /models, live index refresh (hourly change detection with an atomic index swap) plus a nightly rebuild with an eval quality gate.
- Widget: one script tag, Shadow DOM, streaming, citation chips that deep-link to the exact docs section, feedback buttons, dark mode and a mobile layout.
Measured, not guessed: three eval sets (one written independently from the docs), plus the organizers’ 20 example questions: 17/20 on a strict keyword check, honest on every unanswerable and prompt-injection question, with typical answers in 2–3 s. The README documents what each change did to the numbers, including what we tried and rejected.
Note: the event-provided LLM key was disabled after judging, so the live demo’s answers are currently offline; the search index, widget and API shape are still served.
Built with
AI tools
Prize Categories Entered
- Submitted

Best Open-Source AI Project
Answers are written by open-weight models: DeepSeek V4.1 Flash, with GLM-4.7-Flash as fallback (both MIT-licensed weights); Gemini 2.5 Flash-Lite is the one proprietary fallback. Semantic search runs model2vec's open-source potion-base-8M embedding model inside our own server, fused with open-source BM25 (rank_bm25). The project is an original, fully open (MIT) RAG harness for an open-source project's docs: scraper, heading-aware chunking, hybrid retrieval, citations enforced in code, live index refresh and a public eval suite.