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!

Standard.site: The Publishing Gateway

https://stevedylan.dev/posts/standard-site-the-publishing-gateway/
1•stevedsimkins•5m ago•0 comments

Pixwit.ai is an AI-powered video creation platform

https://pixwit.ai
1•maysunyoung•5m ago•1 comments

Ask HN: Has anyone built payment flows inside AI voice calls?

1•wasiyc•10m ago•0 comments

Show HN: Karmic Tail – A calculator for the Destiny Matrix numerology system

https://karmictail.com/
2•hugh1st•12m ago•0 comments

The Pain of Real Linear Types in Rust (2017)

https://faultlore.com/blah/linear-rust/
1•xpe•15m ago•1 comments

Show HN: Pointa – Point-and-click annotations for AI coding agents (open source)

https://www.pointa.dev/
1•jberthom•18m ago•0 comments

Letting Claude Play Text Adventures

https://borretti.me/article/letting-claude-play-text-adventures
1•zdw•19m ago•0 comments

Show HN: Dutix – set default apps for file types and URL schemes on macOS

https://github.com/jackchuka/dutix
1•jackchuka•20m ago•0 comments

Show HN: App Logo AI – Your generated application logo

https://applogoai.com/
1•goingmerryapps•24m ago•0 comments

Fed Served with DOJ Subpoenas, Powell Vows to Stand Firm

https://www.bloomberg.com/news/articles/2026-01-12/powell-says-justice-department-served-fed-with...
3•ZeroCool2u•24m ago•2 comments

Everybody's Got a Claim

https://ipcopilot.ai/2026/01/03/everybodys-got-a-claim/
1•lettergram•26m ago•0 comments

16 Best Practices for Reducing Dependabot Noise

https://nesbitt.io/2026/01/10/16-best-practices-for-reducing-dependabot-noise.html
2•zdw•27m ago•0 comments

DOJ has subpoenaed central bank, threatens criminal indictment

https://apnews.com/article/federal-reserve-trump-subpoena-bf4fc6c690fa248fbc531bc9bc7f1758
5•SilverElfin•31m ago•3 comments

Ask HN: Claude Code Degradation

2•lobito25•33m ago•0 comments

Duplicate tab notifications and auto closures

https://chromewebstore.google.com/detail/newtab/ajpgplnoabdfhpnlepboonoocpipmhkg
1•pinestack•37m ago•0 comments

Complete Guide to Agentic Commerce Standards

https://curateclick.com/blog/2026-universal-commerce-protocol
2•QingWu•38m ago•0 comments

Advancing Claude in healthcare and the life sciences

https://www.anthropic.com/news/healthcare-life-sciences
1•meetpateltech•40m ago•0 comments

California governor proposes $200M in new state EV tax rebates

https://www.reuters.com/world/california-governor-proposes-200-million-new-state-ev-tax-rebates-2...
3•MilnerRoute•41m ago•0 comments

Show HN: AI Cleaner:Phone Cleaner and Storage Analyzer App

https://ai-cleaner.net/
1•jumpdong•41m ago•0 comments

India proposes forcing smartphone makers to give source code

https://www.reuters.com/world/china/india-proposes-forcing-smartphone-makers-give-source-code-sec...
5•Brajeshwar•54m ago•0 comments

Show HN: Personal news curator running 24/7 on a Raspberry Pi 4 with local LLM

https://life-of-utkarsh.medium.com/pushing-the-limits-running-local-llms-and-a-24-7-personal-news...
2•ukrocks007•59m ago•0 comments

Show HN: Tiktokify Your Blog

https://github.com/NISH1001/tiktokify
2•igaurab•1h ago•0 comments

Universal Commerce Protocol: Open standard for agentic commerce interoperability

https://a2aprotocol.ai/blog/2026-universal-commerce-protocol
2•czmilo•1h ago•2 comments

Patela v2: From Certificates to Hardware

https://osservatorionessuno.org/blog/2025/12/patela-v2-from-certificates-to-hardware/
1•todsacerdoti•1h ago•0 comments

LLVM: The Bad Parts

https://www.npopov.com/2026/01/11/LLVM-The-bad-parts.html
1•zdw•1h ago•0 comments

Subformer: Multilingual video dubbing with speaker diarization and voice cloning

https://subformer.com/en-US
1•mashreghi•1h ago•1 comments

Show HN: `tc` like `wc` but for LLM tokens

https://github.com/jamierpond/tokencount
2•jamiepond•1h ago•0 comments

Training an LLM to Play Diplomacy with RL

https://www.benglickenhaus.com/blog/diplomacy_rl_part_1
1•pawalt•1h ago•0 comments

Show HN: An LLM-optimized programming language

https://github.com/ImJasonH/ImJasonH/blob/main/articles/llm-programming-language.md
7•ImJasonH•1h ago•2 comments

Data Trust (or lack of it) is many paper cuts, not one BIG error

https://www.rudderstack.com/blog/data-trust-clickstream-discrepancy/
1•soumyadeb•1h ago•0 comments