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!

Show HN: SkillForge – Turn Screen Recordings into Agent-Ready Skills

https://skillforge.expert
1•YaraDori•5m ago•0 comments

Cost of Housing

https://geohot.github.io//blog/jekyll/update/2026/02/16/cost-of-housing.html
2•kart23•6m ago•0 comments

Show HN: I built a tool to poison audio files against AI training models

1•STEM_SAFE•9m ago•0 comments

The Uncanny Fluency

https://residualstream.app/blog/the-uncanny-fluency/
2•Abeeprodev•12m ago•0 comments

Why Running Alone Feels Harder Than Running with Someone

https://vo2maxpro.com/blog/why-running-alone-feels-harder
1•GoodluckH•14m ago•0 comments

Show HN: Crabify, a Spotify TUI

https://github.com/eiiot/crabify
1•eiiot•16m ago•0 comments

Aeris: Real-Time 3D Flight Tracking

https://aeris.edbn.me/
1•thunderbong•16m ago•0 comments

Harness engineering: leveraging Codex in an agent-first world

https://openai.com/index/harness-engineering/
1•vinhnx•20m ago•0 comments

Replacement crew docks at space station, boosts crew back to seven (PMC medical?

https://spaceflightnow.com/2026/02/15/replacement-crew-docks-at-space-station-boosts-crew-back-to...
1•bookmtn•20m ago•0 comments

Show HN: I replaced my SaaS stack with a single AI agent running on a Mac Mini

1•mupengism•22m ago•0 comments

A Single Reason to Not Vibe Code

https://asindu.xyz/a-single-reason-to-not-vibe-code
1•vinhnx•22m ago•0 comments

AI is slowly munching away my passion

https://whynot.fail/human/ai-is-slowly-munching-away-my-passion/
1•vinhnx•22m ago•0 comments

How were video transfers made? (2011)

https://www.film-tech.com/ubb/f12/t000972.html
1•exvi•23m ago•0 comments

The lost art of self-validation

https://www.ft.com/content/e39abf9d-53c1-4078-8f23-5cb810cc83b4
2•bookofjoe•30m ago•1 comments

Cintel

https://en.wikipedia.org/wiki/Cintel
1•exvi•30m ago•0 comments

Phantom Corsair

https://en.wikipedia.org/wiki/Phantom_Corsair
1•exvi•30m ago•0 comments

The first signs of burnout are coming from the people who embrace AI the most

https://techcrunch.com/2026/02/09/the-first-signs-of-burnout-are-coming-from-the-people-who-embra...
2•WaitWaitWha•34m ago•0 comments

Cognitive Meteorite and Possibilism, the Rational As-If Approach

https://jeanhugues.substack.com/p/meteorite-cognitive-et-possibilisme
1•jhrobert•34m ago•1 comments

Decode Url

https://kaizoku.digital/tools/decode-url/index.html
1•musti_92•36m ago•0 comments

Show HN: JobOps – self-hosted job hunt "Ironman Suit"

https://jobops.dakheera47.com/http://localhost:3005/docs/getting-started/self-hosting
1•dakheera47•37m ago•0 comments

Sync Apple Notes to Blog Using Shortcuts and GitHub Pages

https://docs.moire.blog/
1•aerisz•37m ago•1 comments

Show HN: Interpoll – Tamperproof Social Media

https://endless.sbs/Interpole/
2•thegoodduck•37m ago•0 comments

There is a hexagonal-shaped storm on Saturn's North Pole

https://science.nasa.gov/mission/cassini/science/saturn/hexagon-in-motion/
2•nomilk•38m ago•0 comments

Show HN: IconRulesAgent – Customize macOS App Icons

https://github.com/geoffoliver/IconRulesAgent
1•geoff1560•38m ago•0 comments

Sileo Toasts

https://sileo.aaryan.design/
1•handfuloflight•39m ago•0 comments

The 90-Degree Torque Problem [video]

https://www.youtube.com/watch?v=fbM3SqXLbgU
1•measurablefunc•41m ago•0 comments

TikTok's Chinese Parent Has an App to Replace Hollywood

https://www.wsj.com/tech/ai/tiktoks-chinese-parent-has-an-app-to-replace-hollywood-7b31c6df
4•JumpCrisscross•43m ago•0 comments

Show HN: Node.js native module for integrating Mediasoup with Audio AI models

https://github.com/Hilokal/audio-rtp-tools
1•jbaudanza•45m ago•0 comments

Show HN: MarginDash – See which AI customers are profitable

https://margindash.com/
1•gdhaliwal23•46m ago•1 comments

We may not have a model problem – we may have an execution boundary problem

https://github.com/Jang-Woo-AnnaSoft/execution-boundaries
1•Jang-woo•47m ago•1 comments