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!

Poor judgment or a principled stand? Susan Rice's spat with Trump dissected

https://www.businessinsider.com/susan-rice-critique-trump-fuels-debate-on-board-members-speech-20...
1•petethomas•8s ago•0 comments

VeriSoftBench: Repository-Scale Formal Verification Benchmarks for Lean

https://utopia-group.github.io/VeriSoftBench/
1•matt_d•1m ago•0 comments

Sam Altman's anti-human worldview

https://disconnect.blog/sam-altmans-anti-human-worldview/
1•doener•3m ago•0 comments

Show HN: Using LLMs and differential testing to convert code

https://reorchestrate.com/posts/your-binary-is-no-longer-safe-conversion/
1•seddonm1•3m ago•0 comments

What Is Claude? Anthropic Doesn't Know, Either

https://www.newyorker.com/magazine/2026/02/16/what-is-claude-anthropic-doesnt-know-either
3•dosinga•7m ago•0 comments

5 Ways Libraries Provide Aid to the Homeless

https://action.everylibrary.org/5_ways_libraries_provide_aid_to_the_homeless
2•qualudeheart•9m ago•0 comments

Scientists bottle the sun with liquid battery

https://www.universityofcalifornia.edu/news/scientists-bottle-sun-liquid-battery
1•pndy•10m ago•0 comments

Show HN: Boardroom MCP - Multi-advisor governance engine for AI agents

1•rsalars•12m ago•0 comments

AI Added 'Basically Zero' to US Economic Growth Last Year, Goldman Sachs Says

https://gizmodo.com/ai-added-basically-zero-to-us-economic-growth-last-year-goldman-sachs-says-20...
5•cdrnsf•12m ago•0 comments

Show HN: Swiss Operator – Swiss-style Hugo theme for engineering and tech blogs

https://github.com/carlosplanchon/hugo-theme-swiss-operator
1•carlosplanchon•12m ago•0 comments

Show HN: Lens – a web dashboard for Claude Code configuration

https://github.com/ugudlado/lens
1•ugudlado•12m ago•0 comments

Coordinating Adversarial AI Agents

https://s2.dev/blog/distributed-ai-agents
1•shikhar•13m ago•0 comments

Account was suspended permanently from hostinger

2•piyushpine•14m ago•0 comments

GitHub Actions static analysis tool (18 repos scanned)

https://github.com/Nexora-Inc-AFNOOR-LLC-DBA-NEXORA-INC/nexora-cli/blob/main/docs/research/ci-cd-...
1•ybingursain•15m ago•0 comments

Making Sense of the AI Era

https://guywaldman.com/posts/making-sense-of-the-ai-era
1•plastic-enjoyer•16m ago•0 comments

The Mythical Agent-Month

https://wesmckinney.com/blog/mythical-agent-month/
2•yt-sdb•17m ago•0 comments

Jennifer Osheroff: Hoe cakes a presidential favorite (recipe)

https://www.nevadaappeal.com/news/2026/feb/21/jennifer-osheroff-hoe-cakes-a-presidential-favorite...
1•qualudeheart•20m ago•0 comments

Manipulation of nested oscillations in human iPSC-derived 2D neuronal networks

https://www.sciencedirect.com/science/article/pii/S0969996126000252
1•PaulHoule•21m ago•0 comments

Warm Oceans Turned a 3-Inch Forecast into a Record NYC Blizzard

https://umbrellatoday.app/blog/202602-nyc-blizzard-warm-oceans
2•s-xyz•22m ago•1 comments

Update: Eight of nine missing skiers confirmed dead

https://www.nevadaappeal.com/news/2026/feb/18/10-skiers-still-missing-after-avalanche-near-truckee/
1•qualudeheart•24m ago•0 comments

CLI tool for easier GA4/Firebase/postgre access (for cross-source data analysis)

https://github.com/ljhnick/analytics-agent
1•ljhnick•24m ago•0 comments

The app that fixes itself

https://steveinflow.github.io/blog/self-healing-app-with-agent-orchestration/
1•wrs•26m ago•1 comments

Show HN: The fastest OLAP engine for React Native

https://github.com/pranshuchittora/react-native-duckdb
1•pranshuchittora•27m ago•0 comments

AI-Generated Images Spread During Mexico Cartel Crisis, Written from Shelter

1•PZR2000•27m ago•0 comments

The Death of the Software Craftsman

https://naildrivin5.com/blog/2026/02/23/the-death-of-the-software-craftsman.html
1•zxspectrumk48•28m ago•0 comments

James Webb Telescope Takes a First Peek Inside Uranus

https://www.extremetech.com/science/james-webb-telescope-takes-a-first-peek-inside-uranus
1•voxadam•28m ago•1 comments

Show HN: Agnost AI – Analytics for Conversational Text/Voice Agents

https://biggest-decisions-702764.framer.app/
1•shubhamintech•28m ago•0 comments

The Persona Selection Model

https://www.anthropic.com/research/persona-selection-model
2•salkahfi•30m ago•1 comments

Apple in 2025: The Six Colors report card

https://sixcolors.com/post/2026/02/2025reportcard/
3•zdw•31m ago•0 comments

Women and Children First

https://en.wikipedia.org/wiki/Women_and_children_first
1•vinnyglennon•32m ago•0 comments