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!

Show HN: I built an AI-powered late-night call-in radio show from my RV

https://lukeattheroost.com
1•lukemacneil•2m ago•0 comments

HeartMuLa: Open-source music foundation model achieving commercial-grade quality

https://heart-mula.com
1•hanruezz•3m ago•1 comments

An emotional app to figure out your next step

https://www.heyecho.app/
1•samxkoh•3m ago•0 comments

Show HN: I built a macOS tool for network engineers – it's called NetViews

https://www.bedpage.com/
2•n1sni•4m ago•0 comments

We chose a pipeline over speech-to-speech for evaluative voice AI

https://productfit.substack.com/p/why-speech-to-speech-apis-fail-when
1•niraj_kothawade•4m ago•0 comments

Show HN: BlazeMQ – 52KB Kafka-compatible broker in C++20, zero dependencies

https://github.com/awneesh123/Blaze-mq
1•awneeshtiwari•5m ago•0 comments

LLMs Refuse High-Cost Attacks but Stay Vulnerable to Cheap, Real-World Harm

https://expectedharm.github.io/
1•blackcat201•5m ago•0 comments

AI Doesn't Reduce Work–It Intensifies It

https://simonwillison.net/2026/Feb/9/ai-intensifies-work/
1•walterbell•6m ago•0 comments

Show HN: Decision Guardian – Surface past architectural decisions on GitHub PRs

https://decision-guardian.decispher.com/
1•iamalizaidi•9m ago•0 comments

Show HN: Open-source civic toolkit – 48 policies, 12 interactive tools, forkable

1•david_mchale•16m ago•0 comments

Can You Fly That Thing?

https://tomtunguz.com/can-you-fly-that-thing/
1•walterbell•17m ago•0 comments

Making a working intercom system from some old phone [video]

https://www.youtube.com/watch?v=mkJmT9kiu30
2•Refreeze5224•18m ago•0 comments

Trump says new US-Canada bridge won't open without Canadian concessions

https://www.freep.com/story/news/politics/2026/02/09/trump-says-gordie-howe-bridge-wont-open-with...
5•SilverElfin•18m ago•1 comments

Show HN: Multi-attribute decision frameworks for tech purchases

1•boundedreason•23m ago•0 comments

KiraStudio 1.0.0 – a lightweight, cross-platform music studio

https://kirastudio.org
3•ksymph•31m ago•0 comments

Can my SPARC server host a website?

https://rup12.net/posts/can-my-sparc-server-host-my-website/
3•pabs3•31m ago•0 comments

Report on the subject of Manufacturers (1791) [pdf]

https://constitution.org/2-Authors/ah/rpt_manufactures.pdf
4•pilingual•32m ago•0 comments

Explaining the PeV neutrino fluxes with quasiextremal primordial black holes

https://journals.aps.org/prl/accepted/10.1103/r793-p7ct
1•dataflow•32m ago•0 comments

Internet Background Noise

https://en.wikipedia.org/wiki/Internet_background_noise
1•tripdout•32m ago•0 comments

Show HN: Secure managed hosting for OpenClaw (free and BYOK)

https://openclaw-setup.me/
1•Gregoryy•35m ago•0 comments

Ask HN: How do you interpret P99 latency without being misled?

1•danelrfoster•39m ago•0 comments

Trapped Between Pitch, Disclaimer, and Confession

https://gilpignol.substack.com/p/trapped-between-pitch-disclaimer
1•light_triad•39m ago•0 comments

The Vocabulary Priming Confound in LLM Evaluation [pdf]

https://github.com/Palmerschallon/Dharma_Code/blob/main/paper/vocab_priming_confound.pdf
1•palmerschallon•41m ago•0 comments

The committee problem: why B2B demos die after the form

https://blog.skipup.ai/buying-committee-demo-scheduling-problem/
1•bushido•43m ago•0 comments

Show HN: Seedance2.live – One place to try many AI image and video models

https://seedance2.live
1•yuni_aigc•47m ago•1 comments

Show HN: Grok Video 10s – Grok AI video generation and creator contest

https://grok-video.org/
2•thenextechtrade•48m ago•0 comments

Grumpy Julio plays with CLI coding agents

https://jmmv.dev/2026/02/one-week-with-claude-code.html
1•todsacerdoti•48m ago•0 comments

The Software Business

https://ivanbercovich.com/2026/the-software-business
2•jimmythecook•52m ago•0 comments

Monopoly Round-Up: The $2T Collapse of Terrible Software Companies

https://www.thebignewsletter.com/p/monopoly-round-up-the-2-trillion
2•walterbell•53m ago•0 comments

Show HN: HelixNotes – Local-first Markdown notes app built with Rust and Tauri

https://helixnotes.com
4•ArkHost•55m ago•0 comments