frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

An Enterprise-Level Retrieval-Augmented Generation System

https://comfyai.app/article/llm-applications/enterprise-level-rag-hands-on-practice-II
6•zljdanceholic•9mo ago

Comments

zljdanceholic•9mo ago
How can we search the wanted key information from 10,000+ pages of PDFs within 2.5 hours? For fact check, how do we implement it so that answers are backed by page-level references, minimizing hallucinations?

RAG-Challenge-2 is a great open-source project by Ilya Rice that ranked 1st at the Enterprise RAG Challenge, which has 4500+ lines of code for implementing a high-performing RAG system. It might seem overwhelming to newcomers who are just beginning to learn this technology. Therefore, to help you get started quickly—and to motivate myself to learn its ins and outs—I’ve created a complete tutorial on this.

We have a complete graph to explain its workflow where multiple tools are used: Docling for parsing PDFs, LangChain for chunking text, faiss for vectorization and similarity searching, and chatgpt for LLMs.

Besides, I also outline the codeflow, demonstrating the running logic involving multiple python files where starters can easily get lost. Different files are colored differently. The purpose of showing this is not letting you memorize all of these file relationships. It works better for you to check the source code yourself and use this as a reference if you find yourself lost in the code.

The original project of Ilya Rice design its RAG system for answering questions of annual reports from companies, so he only designed three types of question response format for that challenge: a name, a number, or a boolean. But to ask questions about technical stuff, we absolutely ask general questions like How does RoPE work? to know about some concepts and the like Therefore, I further modify the system logic to fit this need by customizing an AnswerWithRAGContextExplanationPrompt class and automatically matching the most related chapter and corresponding pages via searching through all faiss databases (only retrieve the top-1) The final performance is demonstrated below (not cherry-picked, only tested once).

- What's the steps to train a nanoGPT from scratch? The answer is:

Training nanoGPT from scratch involves several clearly defined steps. First, set up the environment by installing necessary libraries, using either Anaconda or Google Colab, and then download the dataset (e.g., tinyShakespeare). Next, tokenize the text into numerical representations and split the data into training and validation sets. Define the model architecture including token/positional embeddings, transformer blocks with multi-head self-attention and feed-forward networks, and layer normalization. Configure training hyperparameters and set up an optimizer (such as AdamW). Proceed with a training loop that performs forward passes, computes loss, backpropagates, and updates parameters, while periodically evaluating performance on both training and validation data. Finally, use the trained model to generate new text from a given context.

All code are provided on Colab and the tutorial is referenced here. Hope this helps!

Show HN: Hmem – Persistent hierarchical memory for AI coding agents (MCP)

1•Bumblebiber•39s ago•0 comments

OpenClaw's hidden OTel plugin shows where all your tokens go

https://signoz.io/blog/monitoring-openclaw-with-opentelemetry/
1•pranay01•56s ago•0 comments

Ask HN: What invariants matter most to prevent drift in AI-modified SaaS apps?

1•RobertSerber•1m ago•0 comments

OpenClaw-fueled ordering frenzy creates Apple Mac shortage

https://www.tomshardware.com/tech-industry/artificial-intelligence/openclaw-fueled-ordering-frenz...
1•pretext•1m ago•0 comments

Stardust: Stabilizing Earth's Temperature

https://www.stardustsolutions.com
1•doener•2m ago•0 comments

Permacomputing 101 [video]

https://www.youtube.com/watch?v=BNYxAdjl1f0
1•tosh•4m ago•0 comments

Documentation Is King: How AI Earned Its Keep

https://medium.com/@mycahp/documentation-is-king-how-ai-finally-earned-its-keep-47835361c304
1•hacym•9m ago•0 comments

New AI Data Leaks–More Than 1B IDs and Photos Exposed

https://www.forbes.com/sites/daveywinder/2026/02/19/new-ai-data-leak-alert-1-billion-ids-emails-a...
1•thunderbong•9m ago•0 comments

NASA moon rocket suffers setback likely to delay March launch: officials

https://www.cbc.ca/news/world/nasa-moon-launch-problem-march-9.7101012
1•cf100clunk•9m ago•0 comments

Project Pele

https://en.wikipedia.org/wiki/Project_Pele
1•djoldman•10m ago•0 comments

Show HN: My AI research to Obsidian workflow

https://twitter.com/AdilMouja/status/2025266443613319546
1•adilmoujahid•10m ago•0 comments

The Modern Toyota That Lost 65% of Its Value in One Year

https://carbuzz.com/toyota-mirai-massive-depreciation-one-year/
1•iancmceachern•11m ago•0 comments

The Cost of Knowledge Silos in Your Dev Team

https://plantheflow.com/blog/knowledge-silos-cost/
1•dkoprowski•11m ago•0 comments

Turns Out There Was Voter Fraud in Georgia – By Elon Musk

https://newrepublic.com/post/206857/georgia-voter-fraud-elon-musk
2•saubeidl•12m ago•0 comments

People are buying old iPods again

https://www.axios.com/2026/02/21/ipods-music-genz-nostalgia
1•giuliomagnifico•25m ago•0 comments

Per-app volume control for macOS

https://github.com/ronitsingh10/FineTune
1•haunter•26m ago•0 comments

Show HN: MEO - a Markdown editor for VS Code with live/source toggle

https://marketplace.visualstudio.com/items?itemName=vadimmelnicuk.meo
1•vadimmelnicuk•27m ago•0 comments

Personal Statement of a CIA Analyst

https://antipolygraph.org/statements/statement-038.shtml
2•grubbs•31m ago•0 comments

TokenShrink v2.0 – Reddit proved our token math was wrong, so we fixed it

https://tokenshrink.com
1•wattsonme•32m ago•1 comments

A Centenarian Decathlon Calculator

https://www.modernmedlife.com/tools/centenarian-calculator
1•dosstxtx•33m ago•1 comments

GraphRAG, 27,000 Aviation Accidents, and What OpenClaw Found

https://paulvnickerson.substack.com/p/when-an-ai-agent-engineers-its-own
1•paulvnickerson•34m ago•0 comments

Show HN: ShellDock – Run curated DevOps toolchains with a single command

1•horduntech•34m ago•0 comments

Large-scale online deanonymization with LLMs

https://arxiv.org/abs/2602.16800
1•paulpauper•35m ago•0 comments

Mr. Markov's Merry-Go-Round

https://blog.carl.so/posts/mr-markovs-merry-go-round/
1•achristmascarl•38m ago•0 comments

Why Are We Still Writing CRUD UI with Hands?

https://shivekkhurana.com/blog/why-are-we-still-writing-crud-ui-with-hands/
2•shivekkhurana•38m ago•0 comments

The Hater's Guide to Anthropic

https://www.wheresyoured.at/premium-the-haters-guide-to-anthropic/
2•thm•43m ago•0 comments

UASM is a free MASM-compatible assembler based on JWasm

https://www.terraspace.co.uk/uasm.html
1•doener•45m ago•1 comments

Asmc Macro Assembler

https://github.com/nidud/asmc
1•doener•46m ago•1 comments

Tyler Cowen on Latin America

https://cpsi.media/p/tyler-cowen-on-latin-america
2•paulpauper•46m ago•0 comments

Why the "Lesser Included Action" Argument for Ieepa Tariffs Fails

https://marginalrevolution.com/marginalrevolution/2026/02/why-the-lesser-included-action-argument...
1•paulpauper•46m ago•0 comments