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!

Downsides to US-Canadian dual citizenship for US resident?

https://immigration.ca/claiming-canadian-citizenship-by-descent-under-canadas-new-citizenship-act...
1•jakedata•1m ago•1 comments

Show HN: Seedance.fast – Early Access to ByteDance's Seedance 2.0 via Volcengine

1•thenextechtrade•3m ago•0 comments

Why Y Combinator and Aaron Epstein Are Betting on AI-Native Agencies

http://ai-native-agency.com/blog/yc-ai-native-agency
1•victorgk_•3m ago•1 comments

OpenClaw Prompt Injection via Chat History Spoofing (Fixed)

https://twitter.com/marckohlbrugge/status/2021442885942702427
1•hanspagel•3m ago•0 comments

Row Polymorphism without the Jargon (2020)

https://jadon.io/blog/row-polymorphism/
1•bjourne•3m ago•0 comments

OpenClaw creator: "Netlify shares phone numbers"

https://twitter.com/steipete/status/2021495699586904083
1•mellosouls•4m ago•1 comments

Emergent: LLM-Native Python Framework

https://github.com/prostomarkeloff/emergent
1•notmarkeloff•6m ago•0 comments

Show HN: Chroma Master A premium Flutter color suite with 7 integrated games

1•Krishna_Avatar•8m ago•0 comments

Web Development Improvements

https://jameskilby.co.uk/2026/01/web-development-improvements/
1•taubek•9m ago•0 comments

How to build your own programming language in C++

https://pvs-studio.com/en/webinar/
1•GodCreation•9m ago•1 comments

Golang textile parser, implemented using Codex as a "clean room" native parser

https://github.com/rcarmo/go-textile
1•rcarmo•11m ago•0 comments

Anna's Archive 'Releases' Spotify Tracks, Despite Legal Pushback

https://torrentfreak.com/annas-archive-quietly-releases-millions-of-spotify-tracks-despite-legal-...
2•c420•16m ago•0 comments

Chrome extensions spying on 37M users' browsing data

https://qcontinuum.substack.com/p/spying-chrome-extensions-287-extensions-495
2•qcontinuum1•17m ago•0 comments

Quantum Gravity Tests Coming Soon

https://physics.aps.org/articles/v19/18
1•sohkamyung•18m ago•0 comments

Show HN: Self-hosted, end-to-end encrypted chat interface for OpenClaw

https://github.com/botschat-app/botsChat
1•thunderbird007•18m ago•0 comments

NationStates Data Breach

https://www.nationstates.net/page=news/2026/02/04/index.html
1•akyuu•19m ago•0 comments

2026 Agentic Coding Trends Report

https://resources.anthropic.com/hubfs/2026%20Agentic%20Coding%20Trends%20Report.pdf?hsLang=en
1•s-macke•21m ago•0 comments

Motivation-Enhancing Drug

https://en.wikipedia.org/wiki/Motivation-enhancing_drug
1•rzk•24m ago•0 comments

Learn and Test DMARC

https://www.dmarctester.com
2•shaunpud•24m ago•0 comments

Something Big Is Happening

https://shumer.dev/something-big-is-happening
2•eternalreturn•26m ago•0 comments

Show HN: Εἶδος – A non-Turing-complete language built on Plato's Theory of Forms

https://github.com/realadeel/eidos
1•proletarian•26m ago•0 comments

Mini Market Ticker – ESP32 powered stock ticker

https://mmt.tomasantunes.pt
2•tomasantunes•26m ago•0 comments

How to Build an Agent – Amp (2025)

https://ampcode.com/notes/how-to-build-an-agent
2•Daviey•27m ago•0 comments

Show HN: dullnote – Markdown Storage for Claude MCP

https://dullnote.com
1•thedizzyhub•27m ago•0 comments

Inline package – golang.org/x/tools/go/analysis/passes/inline – Go Packages

https://pkg.go.dev/golang.org/x/tools/go/analysis/passes/inline
1•emreb•28m ago•0 comments

Free Users, Paid Costs: Comparing Monetization Models for AI Chat Apps in 2026

https://vexrail.com/resources/blog/free-users-paid-costs-monetization-models-ai-chat-apps-2026
1•axrisi•30m ago•0 comments

Show HN: Sigilla – Spaced repetition for browser tabs (stop hoarding)

1•northerndev•33m ago•1 comments

Big Tech Companies Prepare to Skirt Trump's $100k H-1B Fee

https://www.wsj.com/business/big-tech-companies-prepare-to-skirt-trumps-100-000-h-1b-fee-7cbf1ebe
3•johntfella•36m ago•0 comments

Show HN: Windy – Place wind turbines on a map, see residential impact

https://windy-pi.vercel.app/
1•baqiwaqi•37m ago•0 comments

Show HN: Web Scraping Sandbox Website

https://scrapingsandbox.com/
1•vrathee•39m ago•0 comments