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!

Spotify Update on Developer Access

https://developer.spotify.com/blog/2026-02-06-update-on-developer-access-and-platform-security
1•superasn•5m ago•0 comments

The Longest Line of Sight

https://tombh.co.uk/longest-line-of-sight
1•zdw•7m ago•0 comments

Show HN: I Built Smart Radio That Auto-Skips Talk and Ads by Using ML

https://tunejourney.com/
1•FreeGuessr•8m ago•0 comments

Ask HN: What happens when all 21M BTC is minted

1•totaldude87•8m ago•0 comments

Medicaidspending.org – Search $1.09T in Medicaid provider payments (2018-2024)

https://medicaidspending.org/
2•pw•8m ago•1 comments

AIlways – Meeting Truth and Context Copilot

1•kbp527•11m ago•0 comments

Would you use LLM:// connection URLs?

https://danlevy.net/llm-connection-strings/
1•justsml•13m ago•1 comments

Sharesight MCP

https://github.com/Haizzz/sharesight-mcp
1•haizzz•13m ago•0 comments

HeadElf – C-Suite Executive Intelligence System

https://pauljbernard.github.io/headElf/
1•paulbernard•14m ago•0 comments

I built a cross-platform music app with AI for under £400

https://massimo.mongardini.it/i-built-a-cross-platform-music-sharing-app-with-ai-for-under-300/
1•macsmax•16m ago•1 comments

C64 Copy Protection

https://www.commodoregames.net/copyprotection/
1•snvzz•18m ago•0 comments

Kyoto University develops AI monk robot equipped with Buddhist scriptures

https://japantoday.com/category/tech/kyoto-university-develops-ai-monk-robot-equipped-with-buddhi...
1•hhs•19m ago•0 comments

State of VLA Research at ICLR 2026

https://mbreuss.github.io/blog_post_iclr_26_vla.html
1•paulmist•20m ago•0 comments

Encore.ts: A new type of framework (2024)

https://encore.dev/blog/a-new-type-of-framework
1•andout_•26m ago•0 comments

How an antitrust lawsuit from Michael Jordan reshaped NASCAR

https://insights.som.yale.edu/insights/how-an-antitrust-lawsuit-from-michael-jordan-reshaped-nascar
1•hhs•26m ago•0 comments

Testing vibe coding attacks against critical infrastructure strategies

https://recursion.wtf/posts/vibe_coding_critical_infrastructure/
1•OgsyedIE•28m ago•0 comments

OpenSpending – Exploring $6T+ in federal spending from USASpending.gov data

https://www.openspending.us
3•kianoconnor•31m ago•1 comments

Stereos.ai

https://stereos.ai/
3•hasheddan•33m ago•0 comments

In price negotiations, every second counts

https://insight.kellogg.northwestern.edu/article/in-price-negotiations-every-second-counts
2•hhs•33m ago•0 comments

StereOS

https://github.com/papercomputeco/stereOS
4•hasheddan•34m ago•1 comments

Show HN: FeatureFlare – safer feature rollouts with targeting, release workflows

https://featureflare.com/
1•jsonstcyr•35m ago•0 comments

Malicious Go "Crypto" Module Steals Passwords and Deploys Rekoobe Backdoor

https://socket.dev/blog/malicious-go-crypto-module-steals-passwords-and-deploys-rekoobe-backdoor
2•feross•35m ago•0 comments

Bannerbear – Automate and Scale Your Marketing

https://www.bannerbear.com/
1•thebuilderjr•36m ago•0 comments

Netflix declines to raise its offer to buy Warner

https://apnews.com/article/warner-paramount-netflix-5ddba4049473903b35b65e62e37d66bf
1•cdrnsf•38m ago•1 comments

Show HN: GoldRush CLI – one command for blockchain data

https://goldrush.dev/blog/goldrush-cli-one-command-for-agents/
1•Ferns765•40m ago•0 comments

Don't Lose Your Context

https://www.losslesscontext.ai/
3•ClintEhrlich•41m ago•0 comments

'Proof by intimidation': AI is confidently solving 'impossible' math problems

https://www.livescience.com/physics-mathematics/mathematics/proof-by-intimidation-ai-is-confident...
2•sonabinu•41m ago•0 comments

Netflix Declines to Raise Offer for Warner Bros

http://about.netflix.com/en/news/netflix-declines-to-raise-offer-for-warner-bros
1•dgorges•41m ago•2 comments

Block to layoff half its employees

https://www.bloomberg.com/news/articles/2026-02-26/jack-dorsey-s-block-slashes-nearly-half-of-wor...
3•darth_avocado•45m ago•1 comments

Show HN: Gridly – Minimalist math puzzle (Wordle vibe), no signup, no ads, clean

https://playgridly.web.app
1•arithmosdev•45m ago•0 comments