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!

SOTA on Bay Area House Party

https://www.astralcodexten.com/p/sota-on-bay-area-house-party
2•feross•3m ago•0 comments

Comparative Effectiveness of Exercise and Protein-Based Interventions on Muscle

https://pubmed.ncbi.nlm.nih.gov/41205420/
1•RickJWagner•3m ago•0 comments

A Manual for the Continuance of Species 3490-A (Humans)

https://substack.com/inbox/post/175824989
1•snorbleck•5m ago•0 comments

Show HN: I built a collaborative browser-based beat maker (no login required)

https://make-a-beat.com/
2•JonasN21•5m ago•1 comments

The string theory hype machine will never die

https://www.math.columbia.edu/~woit/wordpress/?p=15407
1•headalgorithm•6m ago•0 comments

Coding on a Phone: What I Learned Building Software on Mobile

https://rahulpandita.me/blog/2026-01-14-Mobile-Development
1•azhenley•7m ago•0 comments

WhisperClip: 300ms Voice-to-Text on macOS (Fully Local)

https://whisperclip.com
1•irqlevel•7m ago•1 comments

GPT-5.2-codex is now available via API

https://platform.openai.com/docs/models/gpt-5.2-codex
1•open-paren•7m ago•0 comments

The Complete Guide to Building Agents with the Claude Agent SDK

https://nader.substack.com/p/the-complete-guide-to-building-agents
1•gmays•8m ago•0 comments

No puedo cobrar en YouTube ¿ por qué será?

1•MilhouseSimp•9m ago•0 comments

AI in Mineral Exploration: 2025 in Review

https://posgeo.wordpress.com/2026/01/12/ai-in-mineral-exploration-2025-in-review/
1•williamjsdavis•10m ago•0 comments

Show HN: AI file watcher that provides intelligent suggestions using local LLM

https://github.com/skorotkiewicz/pomocnik
1•modinfo•10m ago•0 comments

HiTeX Press: A spam factory for AI-generated books

https://laurent.le-brun.eu/blog/hitex-a-spam-factory-for-ai-generated-books
2•birdculture•16m ago•0 comments

Building a keyword research tool with no monthly plan

https://keyword-research-tool-steel.vercel.app/
1•fanel•18m ago•1 comments

Linux Mint 22.3 "Zena" Released – The Linux Mint Blog

https://blog.linuxmint.com/?p=4981
5•xbmcuser•19m ago•0 comments

Chat is the least interesting interface to LLMs

https://www.haskellforall.com/2026/01/chat-is-least-interesting-interface-to.html
3•todsacerdoti•20m ago•0 comments

The World Leaks Intent

https://entropylogy.substack.com/p/the-world-leaks-intent
1•swishappio•21m ago•0 comments

A stable static site generator in Zig

https://gesttalt.org/
1•pepibumur•22m ago•0 comments

Show HN: Achromatic – AI Ready Next.js 16 Starter Kit

1•mjomaa•23m ago•0 comments

Verizon, AT&T, and T-Mobile are all having outages now

https://www.howtogeek.com/verizon-att-and-t-mobile-are-all-having-outages-right-now/
11•joering2•25m ago•0 comments

Verizon Outage Affects Users, Tracking Site Shows

https://www.nytimes.com/2026/01/14/business/verizon-outage-downdetector.html
3•jaredwiener•26m ago•0 comments

Useful Chrome DevTools Features You Might Be Missing

https://jsdevspace.substack.com/p/9-useful-chrome-devtools-features
1•javatuts•26m ago•0 comments

World Logic Day 2026

https://worldlogicday.com/
2•tacon•27m ago•1 comments

The unexpected alcohol in everyday food and drink

https://steadydrinker.com/articles/foods-drinks-alcohol/
2•truth_seeker•28m ago•0 comments

Metal Gear Solid (PS1) could switch out a player's TV

https://infosec.exchange/@SecurityWriter/115791488596455266
3•alberto-m•29m ago•1 comments

A Chrome extension that adds power features to ChatGPT

https://chromewebstore.google.com/detail/chatgpt-power-supercharge/boadmpgcibaekkfjllnahedejfgeehga
1•nitrotechgames•29m ago•1 comments

Advocacy groups call on Apple, Google to drop X and Grok from app stores

https://www.reuters.com/sustainability/society-equity/womens-advocacy-groups-call-apple-google-dr...
5•SilverElfin•29m ago•1 comments

Risk to AI investors, IDed via my Microsoft-/Amazon-/VC-praised AI-preneurship

https://frankruscica.substack.com/p/risk-to-ai-investors
1•frankruscica•30m ago•0 comments

Six Principles for More Rigorous Evaluation of Cognitive Capacities

https://aiguide.substack.com/p/on-evaluating-cognitive-capabilities
2•stephendause•30m ago•0 comments

Blocking Countries Because of Scrapers

https://www.coryd.dev/posts/2026/blocking-entire-countries-because-of-scrapers
3•cdrnsf•31m ago•0 comments