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!

I collected 1k cancellation URLs and built them into an iOS app

https://apps.apple.com/us/app/subscriptioncat-reminder/id6760429188
1•hiroshichan•1m ago•0 comments

No semicolons needed: a survey of programming language syntaxes

https://terts.dev/blog/no-semicolons-needed/#lua
1•fanf2•3m ago•0 comments

Cursor Composer 2 is just Kimi K2.5 with RL

https://twitter.com/fynnso/status/2034706304875602030
2•mirzap•3m ago•0 comments

The Soul of a Pedicab Driver

https://www.sheldonbrown.com/pedicab.html
1•haritha-j•4m ago•0 comments

Chemical pollutants are rife across the oceans

https://www.nature.com/articles/d41586-026-00850-z
1•Brajeshwar•5m ago•0 comments

Norway's Consumer Council takes aim at enshittification

https://www.theregister.com/2026/03/06/forbrukerradet_aim_enshittification/
1•rbanffy•5m ago•0 comments

Electric plasma guided with ultrasonic fields

https://www.science.org/doi/full/10.1126/sciadv.adp0686
1•akshatjiwan•7m ago•0 comments

Show HN: Popoto – A Redis/Valkey ORM with Django-Like Syntax for Python

https://popoto.readthedocs.io/en/latest/
1•tomcounsell•10m ago•0 comments

O'Sullivan makes highest-ever break with historic 153

https://www.bbc.co.uk/sport/snooker/articles/cn4391l3lvxo
1•mellosouls•10m ago•1 comments

Mac OS X 25th Anniversary: The Foundation of Apple's Rise

https://www.goto10retro.com/p/mac-os-x-25th-anniversary-the-os
1•rbanffy•12m ago•0 comments

Show HN: Cybertt – Cybersecurity Tabletop

https://cybertt.xyz/
1•pluppen•15m ago•0 comments

Final Report of Grid Incident in Spain and Portugal on 28 April 2025 [pdf]

https://eepublicdownloads.blob.core.windows.net/public-cdn-container/clean-documents/Publications...
1•sam_lowry_•17m ago•1 comments

Show HN: ClawMUD – A persistent world where only AI agents play, humans spectate

https://clawmud.ai
1•allenhsutw•18m ago•0 comments

Things Fall Apart

https://en.wikipedia.org/wiki/Things_Fall_Apart
3•chistev•27m ago•1 comments

Show HN: Added API key support to my AI writing assistant extension

1•jerrygoyal•27m ago•0 comments

Essex police pause facial recognition camera use after study finds racial bias

https://www.theguardian.com/technology/2026/mar/19/essex-police-pause-facial-recognition-camera-u...
2•Brajeshwar•27m ago•0 comments

Dinit a systemd alternative without age-verification requirements

https://davmac.org/projects/dinit/?hs=1
1•grigio•30m ago•2 comments

Day 21. Iran is entering the Persian New Year, in digital darkness

https://mastodon.social/@netblocks/116260457585027609
1•us321•34m ago•0 comments

Free API-First Web Scrapers (YouTube, Bluesky, Reddit, Google Maps)

https://github.com/spinov001-art/awesome-web-scraping-2026
1•aimarketintel•35m ago•0 comments

VS Code Sessions: an attempt at competing with Cursor and Antigravity

https://twitter.com/_EDM115/status/2034577130630029632
1•EDM115•35m ago•0 comments

Portless replaces port numbers with stable .localhost URLs for local development

https://port1355.dev/
2•napolux•35m ago•0 comments

Uber to Invest Up to $1.25B in Rivian Robotaxis

https://www.wsj.com/business/autos/uber-to-invest-up-to-1-25-billion-in-rivian-robotaxis-8b295925
1•JumpCrisscross•38m ago•0 comments

The Trickonometry of Math Olympiad Inequalities (2025)

https://www.andreinc.net/2025/03/17/the-trickonometry-of-math-olympiad-inequalities/
1•vismit2000•40m ago•0 comments

Open standard for stable machine-readable facts for AI systems

https://groundingpage.com/
1•fhouser•40m ago•0 comments

List of Equipment of the Islamic Revolutionary Guard Corps Navy

https://en.wikipedia.org/wiki/List_of_equipment_of_the_Islamic_Revolutionary_Guard_Corps_Navy
1•JumpCrisscross•43m ago•0 comments

USS Ford forced to withdraw due to laundry fire and toilet sabotage [video]

https://www.youtube.com/watch?v=gy5fsq1hvqo
3•burnt-resistor•46m ago•2 comments

Role-based AI persona packs for Claude Code and Cursor

1•ratnesh_maurya•50m ago•0 comments

Managing Dotfiles with Chezmoi

https://stoddart.github.io/development/tools/open-source/reviews/2024/09/08/managing-dotfiles-wit...
2•wyclif•50m ago•0 comments

Tell HN: Claude Returning 429 in OpenCode

1•ramon156•55m ago•0 comments

NeXTSTEP 3.3 Developer Documentation (1995)

https://www.nextop.de/NeXTstep_3.3_Developer_Documentation/
2•h4ch1•56m ago•0 comments