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!

The Hater's Guide to Oracle

https://www.wheresyoured.at/haters-guide-oracle/
1•NoGravitas•53s ago•0 comments

MongoDB Stock Falls 27% Even as Earnings Beat Estimates

https://www.barrons.com/articles/mongodb-earnings-stock-price-fc2ad40b
1•alecco•1m ago•0 comments

Show HN: FakeScan – Free AI fake review detector (Fakespot alternative)

https://fakescan.site
1•crawde•1m ago•0 comments

Show HN: PingMeBud – A macOS app that listens to meetings so you don't have to

https://www.pingmebud.com/
1•spaceman3•1m ago•0 comments

Show HN: ScrapAI – We scrape 500 sites. AI runs once per site, not per page

https://github.com/discourselab/scrapai-cli
1•iranu•2m ago•1 comments

The SaaS-pocalypse is (somewhat) overblown

https://12gramsofcarbon.com/p/tech-things-saas-is-dead-long-live
1•theahura•3m ago•0 comments

Show HN: I built an AI data analyst that never sees your data

https://www.queryveil.com/blog/i-built-an-ai-data-analyst-that-never-sees-your-data
1•david-rodriguez•3m ago•1 comments

Show HN: GovMatch – Daily government contract alerts matched to your business

https://www.govmatch.live/
1•realdanigil•3m ago•0 comments

France will allow temporary deployment of nuclear-armed jets to European allies

https://apnews.com/article/france-nuclear-weapons-macron-deterrence-ccbcfb03ef4a1e3efe287fb744adb148
2•geox•4m ago•0 comments

Better News

https://doc.searls.com/2026/03/03/better-news/
1•speckx•5m ago•0 comments

Bunny.net Shared Storage Zones

https://dbushell.com/2026/03/04/bunny-shared-storage-zones/
1•speckx•5m ago•0 comments

Pre-Order: Asimov DIY Kit – Build a Humanoid Robot

https://asimov.inc/diy-kit
1•bilsbie•6m ago•0 comments

EU MEPs let Chat Control fail

https://www.heise.de/en/news/Setback-for-the-Commission-EU-MEPs-let-chat-control-fail-11197237.html
1•carschno•7m ago•0 comments

Show HN: We built a zero-webhook Merchant of Record for SaaS

https://www.kelviq.com/
1•sachinneravath•8m ago•0 comments

Claude Code Permission Policy

https://github.com/defrex/claude-code-permission-policy
1•defrex•9m ago•0 comments

AutomaDocs – AI-powered documentation that stays in sync with your code

https://automadocs.com
2•purplegumdropz1•10m ago•0 comments

My first science video in 3 years (Pysics Girl)

https://www.youtube.com/watch?v=B3m3AMRlYfc
2•pcdavid•10m ago•0 comments

Gregory Gerganov and llama.cpp team joining HF

https://huggingface.co/blog/ggml-joins-hf
1•spwa4•11m ago•0 comments

Show HN: Run any Google Chrome version(+116) in Docker for web automation

https://github.com/blitzbrowser/blitzbrowser
1•sam_march•12m ago•0 comments

Space Jellyfish Predictor

https://jellyfish.johnkrausphotos.com/homepage
1•LorenDB•12m ago•0 comments

Florida public universities to pause hiring new H-1B workers

https://www.wusf.org/education/2026-03-03/hiring-h1b-workers-florida-public-universities-pause-en...
1•rawgabbit•13m ago•0 comments

Zero Public Ports: How I Secured a B2B API Against 10K Scraper Requests

https://blog.tripvento.com/zero-public-ports-how-i-secured-my-b2b-api
1•iistrate3•13m ago•0 comments

Show HN: Open-source digital signage ecosystem to escape vendor lock-in

1•sagiadinos•13m ago•0 comments

Show HN: Vocova – Paste a link, get a transcript in 100 languages

https://vocova.app/
1•jmcraft•17m ago•1 comments

Show HN: BloonsBench – Evaluate agent performance on Bloons Tower Defense 5

https://github.com/cnqso/bloonsbench
1•cnqso•17m ago•1 comments

Lawyers don't need "Legal AI"

https://theredline.versionstory.com/p/why-cant-43b-in-legal-ai-investment
2•jpbryan•17m ago•0 comments

Knowdust – Multi-tool hub for devs and everyday users

https://knowdust.com
1•thenamo•17m ago•1 comments

The gap between vague and specific AI direction is not small

https://thoughts.jock.pl/p/directed-ai-experiments-vibe-business
1•joozio•18m ago•0 comments

We're about to turn night into day. Is that a good idea?

https://www.washingtonpost.com/climate-environment/2026/02/27/satellites-light-pollution-spacex/
1•JeanKage•19m ago•2 comments

LinkedIn Ragebait

https://balanarayan.com/2026/03/03/linkedin-ragebait/
2•speckx•21m ago•0 comments