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

Comments

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

Show HN: Nonna – code slop detector that runs in the browser

http://www.babush.me/nonna/
1•babush•1m ago•0 comments

The future of social media is about you not an app

https://eurosky.leaflet.pub/3mgnjewfva22q
2•doener•5m ago•0 comments

He Tried to Stop Adobe from Training Its AI on His Photo Library – He Lost

https://petapixel.com/2026/03/11/he-tried-to-stop-adobe-from-training-its-ai-on-his-photo-library...
1•jonah•6m ago•0 comments

I've Hesitated to Call Donald Trump a Fascist. Until Now – Newsweek (2021)

https://www.newsweek.com/robert-paxton-trump-fascist-1560652
1•abdelhousni•7m ago•1 comments

Iran-linked group claims responsibility for Stryker (medical) cyberattack

https://www.detroitnews.com/story/business/2026/03/11/stryker-hit-by-suspected-iran-link-cyberatt...
1•cebert•7m ago•0 comments

Agent Failures Don't Start Where They Appear

https://www.vichoiglesias.com/writing/agent-failures-dont-start-where-they-appear
1•vichoiglesias•7m ago•0 comments

Gathering Structures (2024)

https://maggieappleton.com/gathering-structures
1•Sir_Twist•8m ago•0 comments

EuroSky Issue with Posts and Reactions

https://bsky.app/profile/eurosky.social/post/3mgszz2tisk2a
1•doener•10m ago•0 comments

The $38.9T national debt is costing you extra dollars per year on your mortgage

https://fortune.com/2026/03/11/national-debt-costs-homeowners-trump-tax-cuts-mortgage-rates/
3•loveseekintruth•13m ago•0 comments

Interface Hall of Shame (2000)

http://hallofshame.gp.co.at/shame.htm
1•GaryBluto•13m ago•0 comments

Atlassian cuts another 1,600 jobs amid AI shakeup

https://www.forbes.com.au/news/investing/atlassian-cuts-another-1600-jobs-amid-ai-shakeup/
2•Cub3•16m ago•2 comments

Google Antigravity IDE rug pulls its quotas

https://old.reddit.com/r/google_antigravity/comments/1rr7vr4/did_the_quotas_change_again/
3•cft•16m ago•1 comments

Show HN: NowPages – Free "now page" generator, no sign-up, pure HTML output

https://nowpages.github.io
1•vipinkashyap•16m ago•0 comments

Your 401(k) could shrink due to climate risks, a new lawsuit argues

https://www.fastcompany.com/91503468/your-401k-could-shrink-due-to-climate-risks-a-lawsuit-argues...
2•fermier•17m ago•0 comments

Ask HN: How do we build a new Human First online community in the LLM age?

1•bluefirebrand•18m ago•1 comments

30k Tok/S (Allegedly)

https://www.percepta.ai/blog/can-llms-be-computers
1•E-Reverance•18m ago•1 comments

Show HN: Autoresearch_at_home – SETI_at_home but for LLM training

https://www.ensue-network.ai/autoresearch
6•austinbaggio•19m ago•2 comments

Show HN: A context-aware permission guard for Claude Code

https://github.com/manuelschipper/nah/
2•schipperai•20m ago•1 comments

Nvidia created a ray tracing fork of Godot

https://xcancel.com/StayAtHomeDev/status/2031830743815454977
4•xelia•21m ago•1 comments

Amazon's Win Against Perplexity Kicks AI Shopping Wars into High Gear

https://www.wsj.com/business/retail/amazons-win-against-perplexity-kicks-ai-shopping-wars-into-hi...
2•petethomas•22m ago•0 comments

What Every Computer Scientist Should Know about Floating-Point Arithmetic [pdf]

https://www.itu.dk/~sestoft/bachelor/IEEE754_article.pdf
2•jbarrow•22m ago•0 comments

Home Row Mods

https://precondition.github.io/home-row-mods
2•codewiz•24m ago•0 comments

Dubai faces existential threat as foreigners flee conflict

https://www.theguardian.com/world/2026/mar/11/the-shine-has-been-taken-off-dubai-faces-existentia...
3•prmph•25m ago•0 comments

Web UI for Kling 3.0 video generation with motion controls

https://kling3.io/
2•calvinclairer•27m ago•1 comments

Ask HN: If you could redesign API gateways today, what would you change?

1•shubham7004•28m ago•0 comments

I can’t trust anyone after this.. [video][25m]

https://www.youtube.com/watch?v=BaBzmjOcA8E
2•Bender•29m ago•1 comments

Judge Prepares Slide Deck of Lawyer's Mistakes

https://www.loweringthebar.net/2026/03/judge-prepares-slide-deck-of-lawyers-mistakes.html
2•samizdis•30m ago•0 comments

looking at cs1.6 "VAC" from 2001 [video]

https://www.youtube.com/watch?v=CWS_VGmB168
1•davikr•30m ago•0 comments

Anyone seen this bug on the YC website?

https://www.ycombinator.com/companies
1•dabrez•31m ago•1 comments

Show HN:Conduit–Headless browser with SHA-256 hash chain - Ed25519 audit trails

2•TaxFix•31m ago•0 comments