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•1y ago

Comments

zljdanceholic•1y 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!

Ronald G. Wayne Is More Than Two Weeks at Apple

https://tedium.co/2026/03/31/ronald-g-wayne-apple-interview/
1•janandonly•1m ago•0 comments

Academic Research Skills for Claude Code

https://github.com/Imbad0202/academic-research-skills
1•arnon•4m ago•0 comments

Retainer: Autonomous agent for extended, independent operation

https://github.com/seamus-brady/retainer
1•s_brady•5m ago•0 comments

Pomotuimer – a dependency-free Pomodoro timer for your terminal

https://github.com/wtbates99/pomotuimer
1•wtbates99•8m ago•1 comments

The Telbex Kernel's Version 0.2 release is near

1•gnu779•8m ago•0 comments

Show HN: X/Twitter video downloader Chrome extension (Plasmo)

https://chromewebstore.google.com/detail/twitter-x-video-downloade/ghmnchjchdadckmencaoomeghcfjjhlf
1•rafayexalter•9m ago•0 comments

Warning: Quantum Advances Are Compressing Timeline for Network Upgrades

https://bitcoinmagazine.com/news/bitcoin-policy-institute-warns-of-quantum
1•janandonly•9m ago•0 comments

More than 92,000 tech workers have been laid off in 2026

https://timesofindia.indiatimes.com/technology/tech-news/after-92000-plus-layoffs-in-2026-economi...
2•rustoo•13m ago•0 comments

Six Seven Six Seven

1•babaeo•14m ago•0 comments

NeuroFilter – YouTube recommendation filtering using AI, transformers.js in MV3

https://chromewebstore.google.com/detail/neurofilterai-—-filter-yo/bmnpefkddaaeolemegkbfhemgemm...
2•iamaayushiiit•14m ago•0 comments

Cancelling Claude subscription renewal immediately revokes Design access

2•o10449366•16m ago•0 comments

BLAS, Lapack and OpenMP

https://pypackaging-native.github.io/key-issues/native-dependencies/blas_openmp/
3•tosh•17m ago•0 comments

'First contact' that may have led to complex life on Earth witnessed

https://phys.org/news/2026-04-contact-complex-life-earth-witnessed.html
2•janandonly•17m ago•0 comments

Running local models on an M4 with 24GB memory

https://jola.dev/posts/running-local-models-on-m4
2•joladev•18m ago•0 comments

UCI LISP: Random Notes (1975)

https://pdp-10.trailing-edge.com/decuslib10-04/01/43,50322/read.me.html
4•jruohonen•20m ago•0 comments

ModelDocker – OpenRouter LLM Desktop Client

https://github.com/Skynet-Pro-Plus/modeldocker
1•Skynetproplus1•22m ago•1 comments

Typing Is Being Replaced by Whispering–and It's More Annoying

https://www.wsj.com/tech/typing-is-being-replaced-by-whisperingand-its-way-more-annoying-a804fee7
2•cebert•23m ago•2 comments

Leonard Nimoy reads "Desiderata" [video]

https://www.youtube.com/watch?v=ZZJ1fJTezFE
1•rglover•24m ago•0 comments

Save the Taxi Drivers

https://www.theatlantic.com/ideas/2026/05/waymo-self-driving-cars/687119/
1•Brajeshwar•27m ago•0 comments

Beginners don't trust the command line

1•ghassenfaidi•28m ago•1 comments

AI Is Forcing CEOs to Make a Stark Choice: Lay Off Workers or Make Them Do More

https://www.wsj.com/tech/ai/ai-is-forcing-ceos-to-make-a-stark-choice-lay-off-workers-or-make-the...
6•gpi•36m ago•1 comments

Midori Sync: Midori is the first Gecko-based browser to have its own Sync

https://astian.org/midori-en/midori-sync/
2•ponchale•37m ago•1 comments

Show HN: OpenTelemetry x DuckDB(Ducklake), SQLite, Clojure

https://github.com/o11ylite/o11ylite
1•mnming•39m ago•0 comments

LLM Inference Throughput Rises 4.5x with Parallel Verification

https://presciente.com/edition/74
2•sebastianperezr•45m ago•0 comments

Global AI Diffusion in Q1 2026 – Microsoft

https://www.microsoft.com/en-us/corporate-responsibility/dmc/topics/ai-economy-institute/reports/...
1•giuliomagnifico•47m ago•0 comments

Comparing a 1980s memory map to the Raspi Pico

https://medium.com/@noborutakahashi/a-40-year-old-memory-map-comparable-to-todays-raspberry-pi-pi...
1•Schlagbohrer•47m ago•0 comments

How much electricity does AI consume?

https://hannahritchie.substack.com/p/ai-electricity-2025
2•mef•49m ago•0 comments

Mapping every European defence tech SME

https://www.defencejobs.org
1•omikk•50m ago•0 comments

Will the stigma around boys who dance ever shift?

https://www.theguardian.com/stage/2026/may/10/balletboyz-billy-elliot-ashley-banjo-diversity-male...
2•YeGoblynQueenne•52m ago•0 comments

Show HN: An index of indie web/blog indexes

https://theindex.fyi
1•rocketpastsix•55m ago•0 comments