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!

Therac-25

https://en.wikipedia.org/wiki/Therac-25
1•hubraumhugo•5m ago•0 comments

Llm9p: LLM as a Plan 9 file system

https://github.com/NERVsystems/llm9p
2•mleroy•6m ago•1 comments

BlackRock caps withdrawals amid investor rush

https://www.msn.com/en-us/news/insight/blackrock-caps-exits-as-redemptions-surge/gm-GM1184A108
1•csomar•8m ago•0 comments

Show HN: Bookvoice – convert PDF books into audiobooks

https://github.com/Semtexcz/Bookvoice
1•semtex_cz•13m ago•0 comments

German political spies mistook a random Berlin woman and got her fired

https://www.eugyppius.com/p/how-german-political-spies-mistook
2•Jerry2•13m ago•0 comments

I'm Not Consulting an LLM

https://lr0.org/blog/p/gpt/
1•birdculture•15m ago•0 comments

Game Theory #9: the US-Iran War [video]

https://www.youtube.com/watch?v=jIS2eB-rGv0
1•flawn•15m ago•0 comments

Dotfiles for Consistent AI-Assisted Development – Dylan Bochman

https://dylanbochman.com/blog/2026-01-25-dotfiles-for-ai-assisted-development/
1•ankitg12•19m ago•0 comments

When the chain becomes the product: Seven years inside a token-funded venture

https://markmhendrickson.com/posts/when-the-chain-becomes-the-product/
1•mhendric•21m ago•0 comments

Making Firefox's right-click not suck, more, with userChrome.css

https://joshua.hu/firefox-making-right-click-not-suck-even-more-userchrome
2•nocy•23m ago•0 comments

Ask HN: Why there are no actual studies that show AI is more productive?

3•make_it_sure•26m ago•2 comments

Show HN: Run any VLM on real-time video

https://overshoot.ai/
1•zakariaelhjouji•29m ago•0 comments

What Automattic's AI Enablement Training Means for WordPress

https://automattic.com/2026/02/25/ai-enablement-wordpress/
1•taubek•29m ago•0 comments

Unredact

https://github.com/Alex-Gilbert/unredact
1•kruuuder•31m ago•1 comments

Ask HN: Meta ad / business account and pages gone

1•holistio•33m ago•0 comments

Show HN: Flora – Compile-time Dependency Injection for Go without reflection

https://github.com/soner3/flora
1•soner3•35m ago•1 comments

Fantasque Player

https://raphaelbastide.com/fantasque-player/
1•tarball•37m ago•0 comments

Salt Typhoon hacked 80 countries – AT&T can't confirm hackers are out

2•Abhscanink•38m ago•0 comments

Attackers prompted Gemini over 100k times while trying to clone it, Google s

https://arstechnica.com/ai/2026/02/attackers-prompted-gemini-over-100000-times-while-trying-to-cl...
4•joozio•39m ago•1 comments

Superpowers for Claude Code: Complete Guide 2026

https://www.pasqualepillitteri.it/en/news/215/superpowers-claude-code-complete-guide
2•doener•41m ago•0 comments

Invoker Commands API

https://developer.mozilla.org/en-US/docs/Web/API/Invoker_Commands_API
3•maqnius•42m ago•1 comments

Show HN: Codebrief – Make sense of AI-generated code changes

https://github.com/that-one-arab/codebrief
1•mo-dulaimi•42m ago•0 comments

Show HN: MindPlexa – Open-source AI-powered infinite canvas: Next.js, React Flow

https://github.com/jayasth/MindPlexa
1•jaysth•44m ago•0 comments

SWE-CI: Evaluating Agent Capabilities in Maintaining Codebases via CI

https://arxiv.org/abs/2603.03823
18•mpweiher•47m ago•1 comments

SCRY 17-source research engine for Claude Code(no API keys, pure stdlib)

https://github.com/Kastarter/scry
1•Kastarted•50m ago•0 comments

Show HN: Cursor skill for Claude Code's /loop scheduler

https://gist.github.com/aydinnyunus/9d507810e78554e2a18668a3dcfd65a8
1•runtimepanic•51m ago•0 comments

Show HN: Go LLM inference with a Vulkan GPU back end that beats Ollama's CUDA

https://github.com/computerex/dlgo
1•computerex•52m ago•0 comments

I built a tool that tailor your resume and cover letter for every job in seconds

https://cvrepair.guru
1•ahmedgmurtaza•57m ago•3 comments

LLMs take the fun out of coding

https://twitter.com/atmoio/status/2030289138126107074
3•vhiremath4•59m ago•2 comments

Show HN: MOCC – Turn your MRR or follower milestones into beautiful mockups

https://mocc-delta.vercel.app/
2•suryanshmishrai•1h ago•0 comments