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

Comments

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

Poleaxed

https://notoneoffbritishisms.com/2026/01/15/poleaxed/
1•jjgreen•57s ago•0 comments

Remails: A European Mail Transfer Agent

https://tweedegolf.nl/en/blog/197/remails
2•Flundstrom2•8m ago•0 comments

Neutral-atom arrays, a rapidly emerging quantum computing platform, gets a boost

https://phys.org/news/2026-01-neutral-atom-arrays-rapidly-emerging.html
1•rbanffy•8m ago•0 comments

Surprise Finding: Immune System May Keep Us from Burning Fat

https://www.medscape.com/viewarticle/surprise-finding-immune-system-may-keep-us-burning-fat-2026a...
1•wjb3•11m ago•1 comments

Will Your AI Teammate Bring Bagels to Standup?

https://redmonk.com/kholterhoff/2026/01/16/will-your-ai-teammate-bring-bagels-to-standup/
1•mooreds•11m ago•0 comments

ADBC: An Intro to NextGen Database Connections

https://thefulldatastack.substack.com/p/adbc-an-intro-to-nextgen-database
1•nhemerson•11m ago•0 comments

First 'dark factory' where robots build the car tipped to open by 2030

https://www.autonews.com/technology/ane-fully-automated-car-plant-china-us-0115/
1•rmason•11m ago•0 comments

Show HN: Visualize Python binary dependencies and subprocess calls in a browser

https://surfactant.readthedocs.io/en/latest/pypi_dependency_analyzer.html
1•rmast•11m ago•0 comments

Innovations in energy and finance are further inflating the AI bubble

https://www.economist.com/business/2026/01/15/innovations-in-energy-and-finance-are-further-infla...
1•1vuio0pswjnm7•12m ago•0 comments

Social Web Working Group Charter

https://www.w3.org/2026/01/social-web-wg-charter.html
1•bovermyer•13m ago•0 comments

HackerTrain/groups: Issue-only repository/pseudo-forum for organising groups

https://codeberg.org/HackerTrain/groups
1•edward•14m ago•0 comments

Tab, Tab, Dead

https://ampcode.com/news/tab-tab-dead
2•herczegzsolt•15m ago•2 comments

The Space and Motion of Communicating Agents (2008) [pdf]

https://www.cl.cam.ac.uk/archive/rm135/Bigraphs-draft.pdf
1•dhorthy•17m ago•0 comments

Don't fall into the anti-AI hype – <antirez>

https://davidcel.is/links/2011919384662230086-dont-fall-into-the-anti-ai-hype-antirez
1•frizlab•19m ago•3 comments

How we built CoPE

https://blog.zentropi.ai/how-we-built-cope/
2•erlend_sh•20m ago•0 comments

Two Thinking Machines Lab Cofounders Are Leaving to Rejoin OpenAI

https://www.wired.com/story/thinking-machines-lab-cofounders-leave-for-openai/
2•monkeydust•21m ago•1 comments

Nuudel: Non-Tracking Appointment Tool

https://nuudel.digitalcourage.de/
1•doener•22m ago•0 comments

There Is No Green Transition, and This Book Explains Why

https://www.highspeed.blog/too-much-more/
2•doener•24m ago•0 comments

Iran's internet shutdown is now one of its longest ever, as protests continue

https://techcrunch.com/2026/01/15/irans-internet-shutdown-is-now-one-of-its-longest-ever-as-prote...
13•ukblewis•25m ago•2 comments

María Corina Machado says she presented Trump with her Nobel peace prize medal

https://www.theguardian.com/world/2026/jan/15/maria-corina-machado-says-she-presented-trump-with-...
3•vinni2•25m ago•2 comments

DHS used neo-nazi anthem for recruitment after fatal Minneapolis shooting

https://theintercept.com/2026/01/13/dhs-ice-white-nationalist-neo-nazi/
3•anigbrowl•26m ago•1 comments

Yacv (Yet Another Compiler Visualizer): LL and LR Parser Animations

https://github.com/ashutoshbsathe/yacv
1•fanf2•30m ago•0 comments

Releasing Rainbow Tables to Accelerate Net-NTLMv1 Protocol Deprecation

https://cloud.google.com/blog/topics/threat-intelligence/net-ntlmv1-deprecation-rainbow-tables
2•notmine1337•30m ago•0 comments

A Powerful New Stealth Model from a Top OSS Lab

https://blog.kilo.ai/p/announcing-a-powerful-new-stealth
1•emschwartz•31m ago•0 comments

Show HN: React hook for real-time voice with Gemini Live API

https://github.com/deflectionrate/gemini-live-react
1•loffloff•34m ago•0 comments

Favorite Rust Crates of 2025

https://docs.freestyle.sh/blog/rust-crates-2025
4•benswerd•34m ago•0 comments

Porsche Restored This 20-Year-Old Carrera GT to 'Zero-Kilometer Condition'

https://www.thedrive.com/news/porsche-restored-this-20-year-old-carrera-gt-to-zero-kilometer-cond...
1•PaulHoule•38m ago•1 comments

We built a free cross-app AI assistant inspired by Apple Intelligence

https://www.gethelios.xyz/
1•rogermas•39m ago•1 comments

Show HN: A WebGPU-based browser engine with "Blam "-style physics

3•goovbot•39m ago•0 comments

WP-Bench: A WordPress AI Benchmark

https://make.wordpress.org/ai/2026/01/14/introducing-wp-bench-a-wordpress-ai-benchmark/
2•chilipepperhott•44m ago•0 comments