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•10mo ago

Comments

zljdanceholic•10mo 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!

Elusive Cost Savings of Pre-fabricated homes

https://www.construction-physics.com/p/the-elusive-cost-savings-of-the-prefabricated
1•HR01•1m ago•0 comments

Why yes, you *can* agentically code wherever you SSH

https://ivoras.substack.com/p/why-yes-you-can-agentically-code
1•taubek•1m ago•0 comments

Social media is an ant mill

https://www.youtube.com/watch?v=3J_obzqM5K0
1•frag•1m ago•0 comments

If you can't trust AI with a credit card, just give it a prepaid card

https://agentcard.sh/
1•haebom•1m ago•0 comments

The Road Runner Economy

https://nraford7.github.io/road-runner-economy/
1•markusw•3m ago•0 comments

Researchers have demonstrated magnetic particle imaging on humans

https://www.uni-wuerzburg.de/en/news-and-events/news/detail/news/mpi-humans/
1•giuliomagnifico•3m ago•0 comments

Iran Drone War Ode Model

https://policytensor.substack.com/p/why-the-us-is-facing-strategic-defeat
1•harperlee•5m ago•0 comments

My Claude Code Setup

https://freek.dev/3026-my-claude-code-setup
1•speckx•6m ago•0 comments

Show HN: RAG Doctor – CLI tool to diagnose broken RAG pipelines

https://ragdoctor.dev/
1•anvarxadja•7m ago•1 comments

Web Rewind

https://www.web-rewind.com/
1•thunderbong•8m ago•0 comments

Microsoft Hasn't Had a Coherent GUI Strategy Since Petzold

https://www.jsnover.com/blog/2026/03/13/microsoft-hasnt-had-a-coherent-gui-strategy-since-petzold/
2•mpweiher•10m ago•0 comments

From Run Nation to Power Slap: New Sports Designed for Social Media

https://www.theguardian.com/sport/2026/mar/13/run-nation-power-slap-carjitsu-tgl-golf-typti-sport...
1•yk•11m ago•1 comments

Stanag 5516M-STD-6016 TADIL-J J-Series schema reconstruction from public docs

https://liotier.github.io/Ersatz-MIL-STD-6016/
1•liotier•12m ago•0 comments

Want to Win a New CanaKit Raspberry Pi 5 Starter Kit Pro?

1•pgedge_postgres•14m ago•0 comments

Prompt engineering vs. context engineering: a practical guide for AI builders

https://memgraph.com/blog/prompt-engineering-vs-context-engineering
1•taubek•14m ago•0 comments

Solder Ninja Pen: USB-powered soldering iron compatible with Weller RT tips

https://www.crowdsupply.com/sitron-labs/solder-ninja-pen
2•oxplot•21m ago•0 comments

OSS Document Scanner

https://www.akylas.fr/OSS-DocumentScanner/
1•farfromrefuge•24m ago•1 comments

Show HN: Line, Language with Intuitive and Natural Expression

https://github.com/Qc-17/LINE
1•Qc17•24m ago•1 comments

40 Years of Wireless Evolution Leads to a Smart, Sensing Network

https://spectrum.ieee.org/telecom-history-1g-to-6g
2•canarymark•26m ago•0 comments

Analysis → Implementation → Reflection – a practical technique for agentic AI

https://blog.scottlogic.com/2026/03/05/analysis-implementation-reflection-practical-techniques.html
1•ColinEberhardt•27m ago•0 comments

Phoenix Arizona is likely to see its earliest 100f(38c) day on record, in March

https://www.cnn.com/2026/03/12/weather/record-heat-west-eastern-cold-whiplash
3•b33f•28m ago•0 comments

Automating the Ticket-to-PR Cycle for Power Platform Code Apps with Azure DevOps

https://agent22.sh/blog/automating-power-platform-code-app-development-with-agent22/
1•cubixle•28m ago•0 comments

Hacking the Job Interview

https://xdg.me/hacking-the-job-interview/
2•ZacnyLos•30m ago•0 comments

"Agentic" is only a marketing term

https://www.yourbroadideas.com/agentic-is-only-a-marketing-term
5•mcauldronism•30m ago•0 comments

Ask HN: Got cancer, a new job,new boss in less than a year What do I do now?

2•Goleniewski•30m ago•0 comments

Gaming on the New MacBook Neo [video]

https://www.youtube.com/watch?v=uOe-Ock4pnw
2•throwaway270925•31m ago•1 comments

Ask HN: How are remote engineers outside US/EU landing paid startup contracts?

1•valentinza•31m ago•0 comments

Show HN: Wardstone – Prompt injection and jailbreak detection API

https://wardstone.ai
1•jaaackrl•32m ago•0 comments

Show HN: Who watches the watchmen? A public decision track record for AI agents

https://www.agent-smith.org/
2•hleichsenring•33m ago•0 comments

Selling Selfcontext.com Domain

https://selfcontext.com/
1•AVancans•35m ago•0 comments