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!

Show HN: VR.dev – Open-source verifiers for what AI agents did

https://www.vr.dev/
1•SkiFreeWin3•2m ago•0 comments

Show HN: Gate – deterministic write-path checkpoint for AI agents

https://zehrava.com/
1•cgallic•3m ago•0 comments

Bitcoiners celebrate as the network produces its 20Mth coin

https://cointelegraph.com/news/bitcoin-mined-20-million-executives-speculate-1-million-left
1•taubek•3m ago•0 comments

Bar charts should always start at zero. But what about line charts? (2018)

http://www.chadskelton.com/2018/06/bar-charts-should-always-start-at-zero.html
1•aleda145•3m ago•0 comments

Show HN: Parascene – a platform for AI, algorithmic, and traditional art

https://sh.parascene.com/s/v1/AA4uAAAa.V2RJl71Us2AJ/tbopzs
1•heddycrow•3m ago•0 comments

Inside a bot operator's email verification infrastructure

https://blog.castle.io/inside-a-bot-operators-email-verification-infrastructure/
1•avastel•5m ago•0 comments

How I Topped the HuggingFace Open LLM Leaderboard on Two Gaming GPUs

https://dnhkng.github.io/posts/rys/
2•dnhkng•5m ago•1 comments

Caution: Read the Docs for Claude 4.6's Effort Parameter

https://everyrow.io/blog/claude-effort-parameter
5•Bullhorn9268•7m ago•0 comments

Thinking Machines Lab and Nvidia announce gigawatt-scale AI partnership

https://thinkingmachines.ai/news/nvidia-partnership/
1•meetpateltech•8m ago•0 comments

I built a hub to organize and share all my AI prompts

https://ideaprompts.com/
1•Kamil_KKA•8m ago•1 comments

Unstructured Data and the Joy of having Something Else think for you

https://shkspr.mobi/blog/2026/03/unstructured-data-and-the-joy-of-having-something-else-think-for...
1•edent•9m ago•0 comments

K-Shaped Economy Continues

https://www.apolloacademy.com/k-shaped-expansion-continues/
1•akyuu•9m ago•0 comments

State of Interactive Product Demos 2026: Benchmarks and Trends

https://supademo.com/content/state-of-interactive-demos-2026
1•avanticc•9m ago•0 comments

A Unix Manifesto for the Age of AI

https://linuxtoaster.com/manifesto.html
3•dirk94018•10m ago•1 comments

Show HN: Smux – Terminal Multiplexer built for AI agents

https://github.com/gergomiklos/smux
3•garymiklos•10m ago•0 comments

Show HN: DD Photos – open-source photo album site generator (Go and SvelteKit)

https://github.com/dougdonohoe/ddphotos
3•dougdonohoe•10m ago•0 comments

Show HN: Local-first firmware analyzer using WebAssembly

https://xray.boldwark.com
4•asabil•10m ago•0 comments

A New Algorithmic MIDI Sequencer in Pure Python (Open Source)

https://github.com/simonholliday/subsequence
2•deepvibrations•13m ago•0 comments

Startup Ideas VCs Are Funding in 2026

https://stellisoft.com/stellify/startup-ideas-vcs-funding-2026
2•Stellisoft•13m ago•0 comments

Intel Demos Chip to Compute with Encrypted Data

https://spectrum.ieee.org/fhe-intel
3•sohkamyung•13m ago•0 comments

A usage circuit breaker for Cloudflare Workers

5•ethan_zhao•15m ago•0 comments

GPS jamming: The invisible battle in the Middle East

https://www.bbc.com/news/articles/c3ewwlx9e1xo
2•throw0101d•15m ago•0 comments

You can read the web in seasons

https://enocc.com/2025/11/12/read-web-seasonally.html
2•nyoki•16m ago•1 comments

A 100 Year Old Consul Typewriter?

https://www.os2museum.com/wp/a-100-year-old-consul-typewriter/
2•jruohonen•16m ago•0 comments

Ig Nobels to move awards to Europe due to concern over US travel visas

https://www.theguardian.com/science/2026/mar/09/ig-nobel-prize-europe
5•sohkamyung•16m ago•0 comments

What is Y Combinator Betting On?

1•Rushalee•17m ago•0 comments

PIDKill – Auto-kill rogue macOS processes on a loop

https://www.pidkill.com
1•thomasmillerGo•17m ago•2 comments

Hooking Coding Agents with the Cedar Policy Language

https://blog.sondera.ai/p/hooking-coding-agents-with-the-cedar
1•joshdevon•18m ago•1 comments

Gen AI Consumer Apps – 6th Edition

https://a16z.com/100-gen-ai-apps-6/
1•qrios•18m ago•0 comments

Jailbreaking Game

https://jailbreak.app.space/
1•mbocanu•20m ago•0 comments