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!

Byte magazine artist Robert Tinney, who illustrated the birth of PCs, dies at 78

https://arstechnica.com/gadgets/2026/02/byte-magazine-artist-robert-tinney-who-illustrated-the-bi...
2•sohkamyung•2m ago•1 comments

RIP Robert Tinney, the illustrator behind so many Byte magazines

https://tinney.net/in-memoriam
1•ohjeez•4m ago•0 comments

Electrolytes vs. Water: The Surprising Effect on Your Training Zones

https://vo2maxpro.com/blog/electrolytes-vs-water-training-zones
1•GoodluckH•9m ago•0 comments

Attorney General Bonta Announces $2.75M Settlement with Disney

https://oag.ca.gov/news/press-releases/california-wont-let-it-go-attorney-general-bonta-announces...
1•sebastian_z•12m ago•1 comments

Building a Pastebin, Hardening Two Services – While Working

https://www.smolkin.org/blog/2026/02/adding-api-auth-admin-panel-with-claude-code.html
1•msmolkin•13m ago•0 comments

Anthropic safety researcher quits, warning 'world is in peril'

https://www.semafor.com/article/02/11/2026/anthropic-safety-researcher-quits-warning-world-is-in-...
1•doener•14m ago•0 comments

Hacker News now thinks coding is solved

https://old.reddit.com/r/BetterOffline/comments/1qynmuc/hacker_news_now_thinks_coding_is_solved/
3•Cheyana•15m ago•1 comments

AI Is Getting Scary Good at Making Predictions

https://www.theatlantic.com/technology/2026/02/ai-prediction-human-forecasters/685955/
1•cainxinth•17m ago•1 comments

Software Engineering Past, Present, and Future with Grady Booch

https://oxide-and-friends.transistor.fm/episodes/software-engineering-past-present-and-future-wit...
1•weinzierl•17m ago•0 comments

Why the Economy Hasn't Crashed yet [video]

https://www.youtube.com/watch?v=jOR4wuiPeEQ
1•Wilsoniumite•19m ago•0 comments

Alphabet's Rare 100-Year Bond Tells Us That Money Is Easy

https://www.wsj.com/finance/investing/alphabets-rare-100-year-bond-tells-us-that-money-is-easy-77...
1•RyanShook•21m ago•0 comments

Show HN: Doodle on Your Partner's Widget

https://trylongdistance.com/
1•VatanaChhorn•22m ago•0 comments

Reducing Attack Surface for AI Agents with Process-Scoped Credentials

https://dreamiurg.net/2026/02/11/reducing-attack-surface-for-ai-agents-process-scoped-credentials...
1•dreamiurg•23m ago•1 comments

Show HN: OpenHarness – A harness for open source projects built by AI agents

https://openharn.vercel.app
1•naix•27m ago•0 comments

Claude's impact on older software engineers while listening to country music

https://suno.com/song/0d9b02a2-a709-4b2c-ba66-f62ff9306f79
1•botswana99•27m ago•0 comments

The SaaSpocalypse – The week AI killed software

https://www.fintechbrainfood.com/p/the-saaspocalypse
3•gmays•31m ago•2 comments

Agent Identities – Everything you need to know

https://mrinal.com/articles/agent-identities/
1•mattgreg•31m ago•0 comments

"Free" Surveillance Tech Still Comes at a High and Dangerous Cost

https://www.eff.org/deeplinks/2026/02/free-surveillance-tech-still-comes-high-and-dangerous-cost
2•hn_acker•33m ago•0 comments

Google Tells Employees: Brace for AI or Leave

https://www.gulte.com/trends/395721/brace-for-ai-or-leave-google-tells-employees
5•sowbug•34m ago•1 comments

Cisco Opensourced Tool to Build AI Bill of Materials

https://github.com/cisco-ai-defense/aibom
1•hsanthan•34m ago•0 comments

How Does the Initial Interest Confusion Doctrine Improve Trademark Analyses?

https://blog.ericgoldman.org/archives/2026/02/how-does-the-initial-interest-confusion-doctrine-im...
1•hn_acker•34m ago•1 comments

Weekly "Wordle" for Breaking AI Agents

https://playground.fabraix.com/
2•zachdotai•35m ago•1 comments

A session with 5.2 using 4o Tone.

1•WindySoliloquy•39m ago•0 comments

Automatic Differentiation from Scratch (2023)

https://blog.esciencecenter.nl/automatic-differentiation-from-scratch-23d50c699555
1•measurablefunc•40m ago•0 comments

The API Tooling Crisis: Why developers are abandoning Postman and its clones?

http://efp.asia/blog/2025/12/24/api-tooling-crisis/
2•PaulHoule•41m ago•1 comments

Why eight Australians died after having AstraZeneca's Covid vaccine

https://www.smh.com.au/national/why-eight-australians-died-after-having-astrazeneca-s-covid-vacci...
2•femto•41m ago•0 comments

Ask HN: Do you bother with take-homes?

1•throwaway123198•41m ago•3 comments

Self-hosted, memory-augmented AI chat that works with any LLM

https://github.com/PStryder/Cathedral
1•pstryder•42m ago•1 comments

Epstein Graph – The Complete Epstein Files Collection

https://epsteingraph.com/
1•redbell•42m ago•1 comments

Something Big Is Happening

https://twitter.com/i/status/2021256989876109403
4•denysvitali•44m ago•3 comments