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!

A VSCode extension for serious programmers

https://marketplace.visualstudio.com/items?itemName=joechusearchpeek.searchpeek
1•chuzcjoe•2m ago•0 comments

Goclaw: A Go Port of OpenClaw

https://github.com/nextlevelbuilder/goclaw
3•geoffbp•5m ago•0 comments

About memory pressure, lock contention, and Data-oriented Design

https://mnt.io/articles/about-memory-pressure-lock-contention-and-data-oriented-design/
1•r4um•5m ago•0 comments

Show HN: Instant file upload and URL for AI agents

https://upfile.sh/
1•perryraskin•6m ago•1 comments

Motorola announces a partnership with GrapheneOS Foundation

https://motorolanews.com/motorola-three-new-b2b-solutions-at-mwc-2026/
2•km•8m ago•0 comments

Rare Steve Jobs interview about the App Store in 2008 [video]

https://www.youtube.com/watch?v=Q8hyxRJcNWU
1•Austin_Conlon•11m ago•0 comments

Starlink Mobile delivers 5G speeds from space to phones

https://starlink.com/business/mobile
2•lumannnn•12m ago•0 comments

Hackerbot-Claw: An AI-Powered Bot Actively Exploiting GitHub Actions

https://www.stepsecurity.io/blog/hackerbot-claw-github-actions-exploitation
1•denysvitali•13m ago•0 comments

Show HN: The OpenRouter for OpenClaw – Shellrouter.com

https://www.shellrouter.com
1•rickboers•13m ago•0 comments

The 1,700-year-old megastructure history almost forgot

https://www.cnn.com/2026/02/28/travel/travel-news-jetavanaramaya-ephesus
1•simonebrunozzi•16m ago•0 comments

HyperCard Changed Everything [video]

https://www.youtube.com/watch?v=hxHkNToXga8
1•gdubs•23m ago•0 comments

Show HN: PinBoard – Desktop app to bulk download Pinterest boards locally

https://pinboard-download.vercel.app/
2•arcquesar•29m ago•0 comments

Show HN: Roast My Website – AI roasts any website's design (free, built on n8n)

https://crazeemedia.app.n8n.cloud/webhook/roast-my-website
2•armanidev•30m ago•1 comments

SQLite – Professional Support and Extension Products

https://sqlite.org/prosupport.html
2•edweis•31m ago•0 comments

How We Built a Distributed Work Scheduling System for Pulumi Cloud

https://www.pulumi.com/blog/how-we-built-a-distributed-work-scheduling-system-for-pulumi-cloud/
2•cnunciato•33m ago•0 comments

AWS Middle East disrupted after 'objects struck datacenter' amid Iran war

https://www.theregister.com/2026/03/01/asia_tech_news_roundup/
3•Element_•36m ago•0 comments

SRGB↔XYZ Conversion (2021)

https://mina86.com/2019/srgb-xyz-conversion/
2•kqr•39m ago•0 comments

Show HN: Audio-to-Video with LTX-2

https://magichour.ai/products/audio-to-video
9•runshouse•40m ago•0 comments

Show HN: L-Rep:Geometry engine,GA multivectors,dynamic trees in a single integer

https://github.com/nahhididwin/L-Representation
3•InputNothing•40m ago•0 comments

An OpenClaw agent that blogs 24/7 and builds its own host

2•bfzli•42m ago•0 comments

Strix – First Impressions

https://theartificialq.github.io/2026/02/28/strix-first-impressions.html
1•HonzaT•45m ago•1 comments

Show HN: Steward – an ambient agent that handles low-risk work

https://github.com/study8677/Steward
1•867762462f•50m ago•0 comments

An interactive intro to Elliptic Curve Cryptography

https://growingswe.com/blog/elliptic-curve-cryptography
2•vismit2000•57m ago•1 comments

What is a file format? An interactive guide

https://growingswe.com/blog/file-formats
2•vismit2000•58m ago•0 comments

Agent Stats

https://www.agentstats.app
1•insomnie•1h ago•1 comments

Poisoned Wells – Examining the Scale of DNS Censorship in India

https://dnsblocks.in/
1•ChrisArchitect•1h ago•0 comments

Fan-made successor to Command and Conquer: Renegade hit 1.0: 12 years of beta

https://www.pcgamer.com/games/fps/its-taken-2-decades-to-appear-but-this-fan-made-spiritual-succe...
1•instagib•1h ago•0 comments

Synesthesia

https://en.wikipedia.org/wiki/Synesthesia
1•1659447091•1h ago•0 comments

Why Should I Learn Spanish Now That AI Exists?

https://nickscip.xyz/blog/learning-languages-pt1/
1•nickscip•1h ago•3 comments

Show HN: Vibe code your scientific papers with an assistant I built(open source)

https://trybibby.com/
1•nilofer99•1h ago•1 comments