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!

Ask HN: Do you measure non human traffic impact as a financial metric?

1•redwine13•3m ago•0 comments

The database that's 1000x faster – SpacetimeDB 2.0 [video]

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

Show HN: Factagora – AI agents compete on predictions, time proves who's right

https://factagora.com
1•randybaek•4m ago•0 comments

Apple removing "Foxconn" from photos of workers at new Houston plant

https://imgur.com/a/Vxd9Mtc
3•icwtyjj•4m ago•0 comments

GPT-OSS Optimizations on Nvidia Blackwell: Pushing the Pareto Frontier

https://blog.vllm.ai/2026/02/01/gpt-oss-optimizations.html
1•roody_wurlitzer•4m ago•0 comments

Show HN: Open-source temporary email service using haraka and node

https://www.freecustom.email/en
1•dishantsinghdev•5m ago•0 comments

Don't Post on Product Hunt

https://ziva.sh/blogs/dont-post-on-product-hunt
1•OsrsNeedsf2P•8m ago•0 comments

Submerged Canoes Offer New Insights into Ancestral Traditions Waterways (2025)

https://www.wisconsinhistory.org/Records/Article/CS17431
1•1659447091•9m ago•0 comments

Show HN: 1Password Replica (Security Challenge)

https://github.com/rajksarkar/vaultkeeper
1•davinci123•9m ago•0 comments

The war against PDFs is heating up

https://www.economist.com/business/2026/02/24/the-war-against-pdfs-is-heating-up
3•petethomas•11m ago•0 comments

Show HN: Add price tags to 50 product photos in minutes (no Canva/PS)

https://pricetaggenerator.com
1•oliveroll•12m ago•0 comments

Nvidia's Insane AI Found the Math of Reality [video]

https://www.youtube.com/watch?v=WNsSzX0L4Es
1•surprisetalk•15m ago•0 comments

Addition Under Pressure

https://twitter.com/DimitrisPapail/status/2024555561199480918
1•vismit2000•16m ago•0 comments

Show HN: Riverse – Local AI agent with memory that grows over time

https://github.com/wangjiake/JKRiver
1•collenjk•17m ago•0 comments

SaaS Is Dead. I Buried It in 15 Days. Here's the Proof

1•htuzel•17m ago•0 comments

The writing was always the cheap part

https://passo.uno/real-cost-of-documentation/
1•theletterf•18m ago•0 comments

Is LipoVive Legit? 2026 Reddit and Health Forum Roundup

https://www.morningstar.com/news/accesswire/1138075msn/lipovive-reviews-shocking-2026-report-what...
1•makugats•18m ago•1 comments

Agents of Chaos

https://arxiv.org/abs/2602.20021
1•nextos•19m ago•0 comments

Socialist Excellence in New York City

https://pluralistic.net/2026/02/24/mamdani-thought/
1•pabs3•24m ago•0 comments

Data center developers asked Trump for an exemption from pollution rules

https://grist.org/regulation/these-data-center-developers-asked-trump-for-an-exemption-from-pollu...
5•billybuckwheat•26m ago•0 comments

Fry's Food and Drug

https://en.wikipedia.org/wiki/Fry%27s_Food_and_Drug
1•pinkmuffinere•29m ago•0 comments

Show HN: AgentPass – Identity layer for AI agents (passports, email, trust)

https://github.com/kai-agent-free/AgentPass
1•kai_agent•32m ago•0 comments

Agent context management: ephemeral vs. durable classification

https://sparkco.ai/infra
1•sparkco123•32m ago•1 comments

AI_ATTRIBUTION.md: A Standard for Tracking Creative Control in Human-AI Coding

https://ismethandzic.com/blog/ai_attribution_md/
1•blueblahblue•33m ago•0 comments

vLLM WideEP and Large-Scale Serving Toward Maturity on Blackwell (Part I)

https://blog.vllm.ai/2026/02/03/dsr1-gb200-part1.html
1•roody_wurlitzer•35m ago•0 comments

Webgrid Eval: LLM vision + tool-use on Neuralink's cursor control task

https://github.com/ofou/webgrid_eval
1•ofou•39m ago•0 comments

You Can't Buy a Data Center

https://timlig.com/posts/ai-supply-chain-crisis/
1•anujsharmax•40m ago•0 comments

I rebuilt Game Boy on web using 1 prompt and 5 parallel agents in 48 hours

https://github.com/s0s0s0/Browser_GBA_Emulator
1•chakmanli•40m ago•1 comments

SQL Has Problems. We Can Fix Them: Pipe Syntax in SQL [pdf]

https://storage.googleapis.com/gweb-research2023-media/pubtools/1004848.pdf
1•advisedwang•41m ago•0 comments

Built a Clone of Expedia but Better

https://travelwithsira.com
1•malwaregeeeek•41m ago•2 comments