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!

I'm in the Epstein Files

https://lapcatsoftware.com/articles/2026/2/2.html
1•zdw•6m ago•0 comments

Django: Profile Memory Usage with Memray

https://adamj.eu/tech/2026/01/29/django-profile-memray/
1•todsacerdoti•7m ago•0 comments

Instacloud as infinite cloud storage using Instagram as remote disk

https://github.com/depreciating/InstaCloud
1•el3ctron•8m ago•1 comments

Calling Lean Functions as Python Functions

https://www.philipzucker.com/leancall/
1•todsacerdoti•9m ago•0 comments

Expertise is a Relic; They want Drones

https://bill-rider.com/2026/02/05/expertise-is-a-relic-they-want-drones/
1•dyukqu•10m ago•0 comments

Fli4l

https://en.wikipedia.org/wiki/Fli4l
1•Tomte•12m ago•0 comments

Why AI-Generated Code Will Hurt Both Customers and Companies

https://beastx.ro/why-ai-generated-code-will-hurt-both-customers-and-companies
1•birdculture•12m ago•0 comments

Voxtral.c Voxtral Realtime 4B model inference as a C library

https://github.com/antirez/voxtral.c
1•antirez•13m ago•0 comments

Aqua2Terra: Bringing subsea cable architecture to terrestrial fiber networks

https://media.licdn.com/dms/document/media/v2/D4E1FAQHgI3NNaBkyXA/feedshare-document-pdf-analyzed...
1•Henry3•14m ago•0 comments

Ottermon.ai – Effortless Observability Deployed in Seconds

https://www.ottermon.ai/
1•puppion•16m ago•0 comments

Learning to Reason in 13 Parameters

https://twitter.com/jxmnop/status/2019251724020772933
2•MaxLeiter•16m ago•1 comments

The Logic of Surveillance (2013)

https://www.ianwelsh.net/the-logic-of-surveillance/
1•bediger4000•20m ago•0 comments

Claude Code Is the Inflection Point

https://newsletter.semianalysis.com/p/claude-code-is-the-inflection-point
1•kakugawa•20m ago•2 comments

Experimental: Add xx-zones protocol for area-limited window positioning

https://gitlab.freedesktop.org/wayland/wayland-protocols/-/merge_requests/264
1•watashiato•21m ago•0 comments

Show HN: API Unit manage and schedule real API test flows, not just requests

https://apiunit.io
1•tudalv•22m ago•0 comments

Elon Musk – "In 36 months, the cheapest place to put AI will be space" [video]

https://www.youtube.com/watch?v=BYXbuik3dgA
1•nomilk•23m ago•5 comments

Bringing Engineering-as-Code to the Sphinx Framework

https://sphinx-needs.readthedocs.io/en/stable/
1•ahamez•24m ago•0 comments

BalatroBench – Benchmarking LLMs' Strategic Performance Through Games

https://balatrobench.com/
1•S1M0N38-hn•24m ago•0 comments

We are QA Engineers now

https://serce.me/posts/2026-02-05-we-are-qa-engineers-now
1•SerCe•25m ago•0 comments

Building an AI-Native Pharma

https://www.formation.bio/blog/building-an-ai-native-pharma
1•lintaho•25m ago•0 comments

IP Based Geolocation by Apple

https://ip-geolocation.apple.com/
1•technimad•26m ago•1 comments

Codex and Claude Code Automated Coding Orchestrator Controlled via Telegram

1•ricrom•27m ago•0 comments

Probing the dark energy in the functional protein universe

https://www.pnas.org/doi/10.1073/pnas.2531111123
1•PaulHoule•27m ago•0 comments

Sopro v1.5: A 135M TTS model trained for ~$100, runs 20× real-time on CPU

https://huggingface.co/samuel-vitorino/sopro
3•sammyyyyyyy•27m ago•1 comments

(Hetzner) Statement on the adjustment of setup fees

https://www.hetzner.com/pressroom/statement-setup-fees-adjustment/
2•m0nhawk•29m ago•0 comments

Redditors hack Epstein personal email

https://old.reddit.com/r/circled/comments/1qw5crl/redditors_hack_epstein_personal_email/
1•gehwartzen•30m ago•0 comments

Meteor 3.4: 4x faster builds, 8x smaller bundles

https://blog.meteor.com/meteor-3-4-is-out-rspack-integration-4x-faster-builds-8x-smaller-bundles-...
2•italojs•31m ago•1 comments

XenoAtom.Terminal.UI – reactive retained‑mode terminal UI framework for .NET

https://xenoatom.github.io/terminal/
1•xoofx•31m ago•0 comments

Updated disk price comparison tool – fixed $/TB math and bundle normalization

https://disk-scout.com/
2•matansfb•31m ago•1 comments

Ask HN: How do you deal with software tracking your data?

1•tavro•31m ago•0 comments