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

Comments

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

SAP just made the opposite bet from every other enterprise platform on AI agents

https://www.sap.com/documents/2026/04/dce9aee4-497f-0010-bca6-c68f7e60039b.html
1•millen_crusader•1m ago•0 comments

Google Research: A new light on neural connections

https://research.google/blog/a-new-light-on-neural-connections/
1•theorchid•3m ago•0 comments

GPT 5.5 flags accounts for "potential high-risk cybersecurity"

https://twitter.com/banteg/status/2047577218142871949
2•stared•5m ago•0 comments

Ask HN: Is Zuckerberg just a „one-hit-wonder"?

1•fandorin•5m ago•0 comments

The Lost Art of Structure Packing

http://www.catb.org/esr/structure-packing/
1•tosh•5m ago•0 comments

LinkedIn Premium Does Not Boost Your Posts

https://andrewpwheeler.com/2026/04/25/linkedin-premium-does-not-boost-your-posts/
1•apwheele•6m ago•0 comments

Flinku – I built a Firebase Dynamic Links replacement after the shutdown

https://www.flinku.dev/
1•luky_dev•6m ago•1 comments

Chernobyl 40 Years On

https://www.thetimes.com/world/europe/article/chernobyl-disaster-what-happened-why-nv2q28z9n
1•beejiu•9m ago•0 comments

Lambda Calculus Benchmark for AI

https://victortaelin.github.io/lambench/
1•marvinborner•9m ago•0 comments

KDE Plasma adds support for hardware overlay planes on Intel GPUs

https://www.neowin.net/news/good-news-for-intel-users-as-kde-adds-support-for-a-feature-amd-users...
1•bundie•11m ago•0 comments

RSME: A lightweight reactive encryption algorithm with internal anomaly sensing

https://zenodo.org/records/19712564
1•RanggaS•13m ago•1 comments

Discret 11, the French TV encryption of the 80s

https://fabiensanglard.net/discret11/
2•adunk•15m ago•0 comments

Roboticist-Turned-Teacher Built a Life-Size Replica of Eniac

https://spectrum.ieee.org/roboticist-turned-teacher-eniac-replica
2•pseudolus•15m ago•0 comments

Choose a Reliable Ruby on Rails Dev Partner for Ongoing Maintenance and Features

https://railsfever.com/blog/rails-development-partner-maintenance-feature-work/
3•quantum_mech•18m ago•0 comments

Only One Side Will Be the True Successor to MS-DOS – Windows 2.x

https://blisscast.wordpress.com/2026/04/21/windows-2-gui-wonderland-12a/
3•keepamovin•22m ago•0 comments

A web-based RDP client built with Go WebAssembly and grdp

https://github.com/nakagami/grdpwasm
4•mariuz•26m ago•0 comments

The eerie abandoned vehicles in Chernobyl's 'dead zone'

https://www.bbc.com/future/article/20260424-the-eerie-abandoned-vehicles-in-chernobyls-dead-zone
2•stephen-hill•27m ago•0 comments

Ask HN: Do you know the problem of "14" in India?

2•wasimsk•35m ago•0 comments

Amália- Open Source Large Language Model (LLM) for European Portuguese

https://portugal.gov.pt/gc24/comunicacao/noticias/modelo-de-linguagem-em-grande-escala-para-a-lin...
5•marcogarces•36m ago•1 comments

Another Microsoft Copilot AD injected into 4M GitHub commits

https://twitter.com/jitbit/status/2047990043688464443
4•jitbit•37m ago•1 comments

Martin Galway's music source files from 1980's Commodore 64 games

https://github.com/MartinGalway/C64_music
3•ingve•39m ago•0 comments

Morpheus spyware hijacks WhatsApp via fake Android update app

https://www.notebookcheck.net/Morpheus-spyware-hijacks-WhatsApp-via-fake-Android-update-app.12828...
2•DarrylLinington•41m ago•0 comments

With TPU 8, Google Makes GenAI Systems Better, Not Just Bigger

https://www.nextplatform.com/compute/2026/04/24/with-tpu-8-google-makes-genai-systems-much-better...
2•rbanffy•43m ago•0 comments

Happy Horse AI

https://www.happyhorseai.store
4•alanzhan•43m ago•0 comments

South Korean workers learn AI after work, outpacing their companies

https://english.kyodonews.net/articles/-/74668
1•01-_-•44m ago•0 comments

PR: Tim Cook Apple Investors: Drop Dead (2014)

https://nationalcenter.org/ncppr/2014/02/28/tim-cook-to-apple-investors-drop-dead/
4•SanjayMehta•44m ago•1 comments

Intel soars on signs AI boom for CPUs is here

https://www.reuters.com/business/intel-set-record-high-ai-driven-cpu-demand-powers-upbeat-forecas...
4•01-_-•44m ago•0 comments

Cafestol/kahweol concentrations in workplace machine coffee vs. other brewing

https://www.nmcd-journal.com/article/S0939-4753(25)00087-0/fulltext
3•beeforpork•47m ago•0 comments

Spotify: The archive – the tech behind your 2025 wrapped highlights

https://engineering.atspotify.com/2026/3/inside-the-archive-2025-wrapped
1•theorchid•47m ago•0 comments

Serendipity Machines

https://www.shishyko.com/essays/serendipity-machines.html
1•shishy•52m ago•0 comments