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!

How to Make Sense of AI

https://commoncog.com/how-to-make-sense-of-ai/
1•swolpers•3m ago•0 comments

Show HN: A client-side visual workflow builder for PDFs

https://www.convertuniverse.com
1•Lyriryl•4m ago•1 comments

I built a tool that turns screen recordings into videos and docs automatically

https://www.clevera.ai/
2•roozfir•6m ago•1 comments

Show HN: Simplecap, a simple cap table modelling tool

https://www.simplecap.info/
1•jhrf•9m ago•0 comments

Spotify Exclusive Mode: bit perfect playback

https://community.spotify.com/t5/Community-Blog/Desktop-Exclusive-Mode-now-available/ba-p/7371590
1•HelloUsername•10m ago•0 comments

Aharonov-Bohm Effect Cybersecurity

https://github.com/autonomous019/ahronov-bohm-cybersecurity
1•beeburrt•11m ago•1 comments

Travel Writing Map

https://erikchou.com/travel
1•Cloud9c•12m ago•0 comments

I Exposed California's Billion Dollar Fraud Crisis

https://www.youtube.com/watch?v=kegwwB4RHgA
1•philipallstar•13m ago•1 comments

Adventures in Decoding Outlook's Hxstore

https://johnson.fyi/post/reverse-engineering-outlook-hxstore
1•elwesties•15m ago•1 comments

Germany's culture minister cancels presentation of Booksellers' Prize

https://www.wsws.org/en/articles/2026/03/16/5a65-m16.html
1•vrganj•18m ago•0 comments

Mamba-3: Improved Sequence Modeling Using State Space Principles

https://arxiv.org/abs/2603.15569
1•anentropic•20m ago•1 comments

Reverse Engineering a DOS Game with Ghidra and Codex

https://alexbevi.com/blog/2026/03/14/reverse-engineering-a-dos-game-with-ghidra-and-codex/
1•alberto-m•24m ago•0 comments

A mystery AI model has developers buzzing: Is this DeepSeek's latest blockbuster

https://www.thehindu.com/sci-tech/technology/a-mystery-ai-model-has-developers-buzzing-is-this-de...
1•vismit2000•26m ago•1 comments

Making AI Agents Safe to Run in Manufacturing ERPs

https://zeehub.ai/blog/from-advisory-to-autonomous-making-ai-agents-safe-to-run-in-manufacturing....
2•snirkhe•26m ago•1 comments

Prototype quantum battery achieves full cycle, shows faster-with-scale charging

https://thedriven.io/2026/03/18/australian-scientists-hail-breakthrough-in-quantum-batteries-and-...
1•fhub•27m ago•0 comments

Meta's "digital ghost" patent has nothing to do with dead people

1•sharjil_k•27m ago•1 comments

Show HN: NetLab – A browser based packet tracer alternative

https://netlab.thecybersecguru.com
8•lesterrue•31m ago•0 comments

Strategic Forgetting: A Cognitive Architecture for Long Horizon Autonomy

https://blog.nishantsoni.com/p/strategic-forgetting-a-cognitive
2•sonink•33m ago•0 comments

Psi-Commit – Cryptographic Commitments Anchored to Bitcoin via OpenTimestamps

https://psicommit.com/
1•RayanOghabian•37m ago•1 comments

Microsoft weighs legal action over $50B Amazon-OpenAI cloud deal

https://www.ft.com/content/e814f4c3-4fb5-4e2e-90a6-470044436b39
3•merksittich•39m ago•2 comments

The Agent's Disposable UI

https://gdaybrice.com/the-agents-disposable-ui
1•gdaybrice•39m ago•0 comments

Polycode – self-hosted GitHub bot that runs AI agent workflows from issue labels

2•xeroc•40m ago•0 comments

How the classic computer game Doom became a tool for science

https://www.nature.com/articles/d41586-026-00813-4
1•Michelangelo11•40m ago•0 comments

Notion Alternative

https://mytracker.today
1•rakanalalami•43m ago•0 comments

Seeking the Source of Ebola

https://education.nationalgeographic.org/resource/seeking-source-ebola/
1•thunderbong•46m ago•0 comments

YourDrawAI – Create magical AI coloring pages instantly

https://yourdrawai.com/
1•DenisMtfl•47m ago•0 comments

Pixel-art virtual office for AI agent teams

https://github.com/fwartner/clawd-office
3•pixelandprocess•47m ago•2 comments

Marc Andreessen is wrong about introspection

https://www.joanwestenberg.com/marc-andreessen-is-wrong-about-introspection/
3•asplake•47m ago•0 comments

Show HN: AbsentKey E2E encrypted vault that releases secrets when you can't

https://absentkey.com/en/
3•artidokuz•49m ago•1 comments

ClearanceKit – Protect your Mac from compromised packages (OSS)

https://github.com/craigjbass/clearancekit
2•b800h•52m ago•0 comments