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!

The Right to Understand the Systems That Govern You

https://osamaalghanmi.substack.com/p/the-right-to-understand-the-systems
1•javasop•1m ago•0 comments

AI just got its toughest math test yet. The results are mixed

https://www.scientificamerican.com/article/first-proof-is-ais-toughest-math-test-yet-the-results-...
1•optiot•3m ago•1 comments

Google offers voluntary exit option to employees not comfortable with AI pace

https://www.moneycontrol.com/europe/?url=https://www.moneycontrol.com/technology/google-offers-vo...
1•itvision•3m ago•1 comments

French railway operator tests solar on train tracks

https://www.pv-magazine.com/2026/02/05/french-railway-operator-tests-pv-on-train-tracks/
1•svilen_dobrev•4m ago•0 comments

The World Wide MUD

https://codeberg.org/open-source-force/Roam
1•CurvatureTensor•4m ago•1 comments

Getting the Most Out of OpenClaw

https://github.com/laurentenhoor/devclaw
2•laurentenhoor•6m ago•0 comments

Pillars of AI-Native Agencies: Sales, Marketing and Back-Office

https://ai-native-agency.com/blog/ai-native-agency-verticals
1•victorgk_•7m ago•1 comments

Show HN: I built a concurrent BitTorrent engine in Go to master P2P protocols

2•Jyotishmoy•7m ago•0 comments

Stress and trading: how your nervous system sabotages your edge

https://m1nd.app/learn/trading-stress-nervous-system
1•timoslav•8m ago•0 comments

Chiseling Dotfiles: The Digital Mason

https://opensource-odyssey.net/posts/the-digital-mason/
1•C0d3Crusad3r•8m ago•1 comments

Show HN: SimpleClaw Shop – One click deployment for non technical users

https://simpleclaw.shop
1•phukon•8m ago•0 comments

Google and MS authored the spec that turns every site into an API for AI agents

https://twitter.com/aakashgupta/status/2022539848301842630
1•r2ob•9m ago•0 comments

My Claude Code Toolkit

https://newartisans.com/2026/02/my-claude-code-toolkit/
1•zdw•10m ago•1 comments

Three non-programming books for your booklist (2010)

https://sdtimes.com/professional-development/three-non-programming-books-for-your-booklist/
1•ohjeez•14m ago•0 comments

Sharing in Dada

https://smallcultfollowing.com/babysteps/blog/2026/02/14/sharing-in-dada/
1•todsacerdoti•14m ago•0 comments

A Review of M Disc Archival Capability. With long term testing results

http://www.microscopy-uk.org.uk/mag/artsep16/mol-mdisc-review.html
2•1970-01-01•15m ago•0 comments

Talking Again with Jon Gruber

https://paulkrugman.substack.com/p/talking-again-with-jon-gruber
1•bookofjoe•15m ago•0 comments

Just 5 weeks of brain training may protect against dementia for 20 years

https://www.sciencedaily.com/releases/2026/02/260211073023.htm
1•gradus_ad•17m ago•0 comments

Show HN: Rune-stone | A spec pattern for consistent AI code generation

https://github.com/vict00r99/Rune-stone
1•vict00r99•25m ago•3 comments

The most beautiful collection of science, mathematics, and internet resources

https://abakcus.com/
1•tempodox•26m ago•0 comments

Show HN: We built AI to help bidding teams – mentioned by Kunal Bahl on ET Now

https://www.contravault.com
1•tanmayjuneja8•27m ago•0 comments

New marketplace let's you exchange metals locall

https://metalmoves.app/
1•zekardd•27m ago•0 comments

Data Models

https://datamodels.databases.biz/
1•TheAceOfHearts•29m ago•0 comments

The Untold Story of NotPetya, the Most Devastating Cyberattack in History

https://www.wired.com/story/notpetya-cyberattack-ukraine-russia-code-crashed-the-world/
1•basilikum•30m ago•0 comments

Show HN: A "TLDR for the internet" – curious if this is your problem

https://ondex.co
1•andrevaillant•31m ago•1 comments

As Complexity Grows, Architecture Dominates Material

https://worksonmymachine.ai/p/as-complexity-grows-architecture
1•Stwerner•31m ago•0 comments

Platforms bend over backward to help DHS censor ICE critics, advocates say

https://arstechnica.com/tech-policy/2026/02/platforms-bend-over-backward-to-help-dhs-censor-ice-c...
25•pjmlp•32m ago•3 comments

Show HN: Whisper Money – Open-source, privacy-first personal finance app

https://github.com/whisper-money/whisper-money
1•falcon_•34m ago•0 comments

Why do office chairs have 5 legs? [video]

https://www.youtube.com/watch?v=kKt46Lch2bo
2•throw0101c•35m ago•0 comments

Hare 0.26.0 Released

https://harelang.org/blog/2026-02-13-hare-0.26.0-released/
3•birdculture•35m ago•0 comments