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•8mo ago

Comments

zljdanceholic•8mo 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!

Ygrep: Fast, local, indexed code search tool optimized for AI coding assistants

https://github.com/yetidevworks/ygrep
1•kristianp•29s ago•0 comments

How to Kill a Fish

https://www.newyorker.com/magazine/2026/01/26/how-to-kill-a-fish
1•mitchbob•2m ago•1 comments

Show HN: NPM install a WASM based Linux VM for your agents

https://github.com/deepclause/agentvm
1•schmuhblaster•4m ago•1 comments

We've Turned Off AI‑Assisted Answers

https://noai.duckduckgo.com/
1•doener•6m ago•1 comments

Volvo EX60: First Gemini-Powered EV vs. BMW iX3 Alexa+

https://www.techradar.com/vehicle-tech/dash-cams/the-worlds-first-gemini-powered-ev-lands-this-we...
1•gfortaine•7m ago•0 comments

London Eye architect proposes 14-mile tidal power station off Somerset coast

https://www.theguardian.com/environment/2025/dec/27/london-eye-architect-proposes-14-mile-tidal-p...
1•PaulHoule•12m ago•0 comments

Prisma-sql – Direct SQL generation from Prisma queries

https://www.npmjs.com/package/prisma-sql
1•multipliedtwice•12m ago•1 comments

Why Walmart still doesn't support Apple Pay

https://9to5mac.com/2026/01/18/heres-why-walmart-still-doesnt-support-apple-pay/
3•CharlesW•12m ago•1 comments

ClovaLink: Enterprise file management without the enterprise price tag

https://github.com/ClovaLink/ClovaLink
1•thunderbong•15m ago•0 comments

Reticulum, a secure and anonymous mesh networking stack

https://github.com/markqvist/Reticulum
2•brogu•16m ago•2 comments

Intelligent Wearable for Dysarthria Recovery Post-Stroke

https://www.nature.com/articles/s41467-025-68228-9
2•gnabgib•16m ago•0 comments

A lightweight orchestrator for running multiple Claude Code agents

https://github.com/dlorenc/multiclaude
1•mooreds•17m ago•0 comments

Show HN: Everything Is a Spectrogram

https://everything-is-a-spectrogram.vercel.app/
1•phantomshelby•17m ago•0 comments

How worried should I be about running LLM code on my machine?

1•scoofy•18m ago•0 comments

Built 1,300 free calculators that run client-side

https://practicalwebtools.com
2•cobrapi•19m ago•1 comments

Show HN: Chat app with Hubot – hubot-chat

https://github.com/hubot-friends/hubot-chat
1•joeyguerra•22m ago•0 comments

Install.md: Innovation or Reinventing Gherkin?

https://docsalot.dev/blog/install-md-vs-getting-started-guides
2•fazkan•26m ago•0 comments

From Old English to Modern American English in One Monologue [video]

https://www.youtube.com/watch?v=842OX2_vCic
2•Teever•29m ago•0 comments

Tell HN: The current top story on R/news is LLM slop

https://old.reddit.com/r/news/
6•perihelions•29m ago•2 comments

American Closed Source vs. Chinese Open Source: A False Dichotomy

https://senteguard.com/blog/#post-h2V9GtUh5Xts9NTzH4zu
1•djwide•30m ago•2 comments

How criminals spread their ill-gotten gains to everyday business ventures

https://cyberscoop.com/what-cybercriminals-do-with-their-money-sophos/
2•Gaishan•33m ago•0 comments

HDMI 2.1 VRR support in AMDGPU via non-encumbered party

https://www.phoronix.com/news/AMDGPU-HDMI-Gaming-Features
5•snvzz•33m ago•0 comments

ARK's Price Target for Tesla in 2025 (2021)

https://www.ark-invest.com/articles/valuation-models/tesla-price-target-2
2•kklisura•35m ago•1 comments

3D printing my laptop ergonomic setup

https://www.ntietz.com/blog/3d-printing-my-laptop-ergonomic-setup/
1•kurinikku•36m ago•0 comments

Scandal: Various Organizations Leaked America's Biggest Math Test

https://tatler.lakesideschool.org/5784/showcase/scandal-how-various-organizations-leaked-americas...
1•paulpauper•37m ago•0 comments

Europe Contends with a Big New Threat: The U.S.

https://www.wsj.com/world/europe/europe-contends-with-a-big-new-threat-the-u-s-b76d26eb
4•doener•38m ago•1 comments

Batoto: Closing One Chapter

https://old.reddit.com/r/Batoto/comments/1qhgm2t/closing_one_chapter/
1•ValentineC•38m ago•0 comments

FelPawns – My first attempt to turn RimWorld into AI-Dungeon

https://captain-fel.itch.io/felpawns
1•walterfreedom•43m ago•3 comments

Vivo Time

https://lopespm.com/product/2026/01/19/vivotime.html
2•lopespm•43m ago•0 comments

Share Your Reminders to Yourself

https://herbertlui.net/share-your-reminders-to-yourself/
1•herbertl•44m ago•0 comments