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!

Decision Guardian: Enforce ADRs in PRs Using Regex and JSONPath

4•iamalizaidi•4m ago•0 comments

Meta patented an AI that lets you keep posting from beyond the grave

https://www.businessinsider.com/meta-granted-patent-for-ai-llm-bot-dead-paused-accounts-2026-2
1•mindracer•4m ago•0 comments

Show HN: ChexHQ – Financial decision intelligence for finance teams

https://chexhq.com/
1•DhirajKadam27•7m ago•0 comments

Helion Achieves New Fusion Energy Milestones

https://www.helionenergy.com/articles/helion-achieves-new-fusion-energy-milestones/
1•bezbac•16m ago•0 comments

Reproducible Python with Uv and Pixi

https://pydissem.rgoswami.me/
1•HaoZeke•16m ago•0 comments

Show HN: A personal, open-source web runtime

https://github.com/pinkhairs/cutemagick
2•pixelswithin•17m ago•0 comments

Ask HN: Do you think humanoid robots will outnumber humans by 2035?

1•p2pai•21m ago•0 comments

How China Built a Chip Industry, and why it is still not enough

https://www.nytimes.com/2026/02/14/business/china-chips-nvidia-huawei.html
1•jimnotgym•21m ago•2 comments

Show HN: Parrot– AI Transcription & Translation - 11+ Indian languages + codemix

https://parrotapp.in/
1•sayantanc•23m ago•0 comments

From flattery to debate: Training AI to mirror human reasoning

https://techxplore.com/news/2026-02-flattery-debate-ai-mirror-human.html
1•netfortius•27m ago•0 comments

Show HN: cgrep – local, code-aware search for AI coding agents

https://github.com/meghendra6/cgrep
2•meghendra•27m ago•0 comments

Ars Technica makes up quotes from Matplotlib maintainer; pulls story

https://infosec.exchange/@mttaggart/116065340523529645
3•robin_reala•29m ago•0 comments

OpenBIOS

https://www.openfirmware.info/
1•tosh•31m ago•0 comments

Showcasing my Git repositories on the web

https://cybrkyd.com/post/showcasing-my-git-repositories-on-the-web/
1•londonanon•32m ago•0 comments

Recovered 1973 diving decompression algorithm

https://github.com/edelprino/DCIEM
1•birdculture•34m ago•0 comments

Mathematicians issue a major challenge to AI

https://www.scientificamerican.com/article/mathematicians-launch-first-proof-a-first-of-its-kind-...
1•dheerajmp•39m ago•1 comments

Show HN: HRML – A compiled web language. Three symbols, zero dependencies

https://hrml.dev
1•mendexio•40m ago•1 comments

Show HN: Neohabit – habit-tracker with adjustable habit frequencies (X / Y days)

https://github.com/Vsein/Neohabit
1•Vsein•43m ago•0 comments

Show HN: Agent Hypervisor – Reality Virtualization for AI Agents

https://github.com/sv-pro/agent-hypervisor
1•sv-pro•47m ago•0 comments

YouTube as Storage

https://github.com/PulseBeat02/yt-media-storage
8•saswatms•48m ago•8 comments

Offline ElevenLabs alternative for macOS – one-time purchase, runs locally

https://apps.apple.com/sg/app/potato-labs/id6758903660?mt=12
1•jantheman•51m ago•1 comments

Critical Logic Bypass "Intended Behavior" Full System Access

2•CorporationHit•57m ago•0 comments

Rendering the Visible Spectrum

https://brandonli.net/spectra/doc/
1•signa11•1h ago•0 comments

How to Vulkan in 2026

https://www.howtovulkan.com/
1•signa11•1h ago•0 comments

GitHub Innovation Graph: EU is catching up

https://github.blog/news-insights/policy-news-and-insights/year-recap-and-future-goals-for-the-gi...
1•muzzy19•1h ago•0 comments

AI Agent Lands PRs in Major OSS Projects

https://socket.dev/blog/ai-agent-lands-prs-in-major-oss-projects-targets-maintainers-via-cold-out...
1•junon•1h ago•0 comments

Agentic Experience for Publishers

https://www.gendiscover.com/publisher
1•transfon•1h ago•0 comments

Simplifier

https://simplifier.neocities.org/
1•tosh•1h ago•0 comments

When Helm and Argo Is Not Enough

https://kubekattle.github.io/ktl/blog/ktl-stack-dag-vs-argo.html
2•KyleVlaros•1h ago•0 comments

Berlin Lights Brandenburg Gate with 'Freedom for Iran' Message

https://www.iranintl.com/en/202602144731
2•ukblewis•1h ago•0 comments