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

Comments

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

Claude Cowork Runs Linux VM via Apple Virtualization Framework

https://gist.github.com/simonw/35732f187edbe4fbd0bf976d013f22c8
2•jumploops•4m ago•0 comments

Show HN: Gilda runs multiple LLMs, compares them, and merges the result

https://gildaapp.com/
1•osgohe•8m ago•1 comments

When competition leads to human values by Beren Millidge [video]

https://www.youtube.com/watch?v=ua67aXBP76k
1•ljosifov•9m ago•0 comments

VoidLink: The Cloud-Native Malware Framework Weaponizing Linux Infrastructure

https://blog.checkpoint.com/research/voidlink-the-cloud-native-malware-framework-weaponizing-linu...
2•laktak•10m ago•0 comments

McKinsey challenges graduates to use AI chatbot in recruitment overhaul

https://www.ft.com/content/de7855f0-f586-4708-a8ed-f0458eb25586
1•jorisboris•15m ago•1 comments

PulseDaily – a local‑first, no‑login habit tracker with gentle reminders

https://pulsedaily.codezs.online
1•fcxl•15m ago•1 comments

SOTA on Bay Area House Party

https://www.astralcodexten.com/p/sota-on-bay-area-house-party
1•ryan_j_naughton•17m ago•0 comments

Static sites from shell (part 1/2) – feeling the html.energy (2022)

https://www.evalapply.org/posts/shite-the-static-sites-from-shell-part-1/index.html
1•adityaathalye•21m ago•0 comments

Tesla will stop selling FSD after Feb 14

https://twitter.com/elonmusk/status/2011324998653513810
3•0xedb•22m ago•0 comments

In the DOM We Trust: The Hidden Dangers of Reading the DOM on the Web [pdf]

https://trouge.net/papers/in_the_dom_we_trust_ccs25.pdf
1•ArneVogel•23m ago•1 comments

Multi-Service Debug Sandbox

https://github.com/kp7008/multi-service-debug-sandbox
2•kp7008•27m ago•0 comments

Show HN: Go-CoreML – Go Bindings for Apple's CoreML with Neural Engine Support

https://github.com/gomlx/go-coreml
3•kingcauchy•29m ago•0 comments

HTTP RateLimit Headers

https://dotat.at/@/2026-01-13-http-ratelimit.html
2•ingve•30m ago•0 comments

Why Arab states are silent about Iran's unrest

https://www.economist.com/middle-east-and-africa/2026/01/13/why-arab-states-are-silent-about-iran...
5•ryan_j_naughton•33m ago•0 comments

Documented Alaska Airlines loyalty thefts shows architectural failure

https://www.noseyparker.org/p/alaska-airlines-where-the-top-customers
5•NoseyParker•38m ago•1 comments

Volvo Will Make You Safer with Only a Font

https://www.motortrend.com/news/volvo-safety-typeface-font-easy-read
3•qsi•38m ago•1 comments

You vs. a Billionaire: An Interactive Perspective on Wealth

https://www.budgetflow.cc/blog/you-compared-to-elon-musk
4•mkrd•40m ago•1 comments

We optimized Socket.IO for real-time SaaS analytics

https://saasscout.online/
2•zoey922•41m ago•0 comments

An Architecture for Verifiable Data Collection and Proof-of-Check Timestamping

https://www.researchgate.net/publication/399711443_A_Libre_Architecture_for_Verifiable_Data_Colle...
2•cedricbonhomme•43m ago•0 comments

NASA's SpaceX Crew-11 Go for Undocking on Wednesday

https://www.nasa.gov/blogs/commercialcrew/2026/01/13/nasas-spacex-crew-11-go-for-undocking-on-wed...
2•akg130522•43m ago•0 comments

Agent OS

https://buildermethods.com/agent-os
2•evo_9•44m ago•1 comments

Nvim-beads: Manage beads in Neovim

https://joeblu.com/blog/2026_01_introducing-nvim-beads-manage-beads-in-neovim/
2•joeblubaugh•44m ago•0 comments

Rapid Serial Visual Presentation (RSVP) reader for speed reading

https://github.com/thomaskolmans/rsvp-reading
3•yownie•45m ago•2 comments

Cells use 'Bioelectricity' to coordinate and make group decisions

https://www.quantamagazine.org/cells-use-bioelectricity-to-coordinate-and-make-group-decisions-20...
3•ashishgupta2209•45m ago•0 comments

New set of icons for Apple Creator Studio apps

https://www.reddit.com/r/MacOS/s/NC7iDJu9MS
1•cromka•47m ago•2 comments

The Joy of Not Learning: How AI Saves My Hobby Projects

https://harichetlur.com/blog/the-joy-of-not-learning-how-ai-saves-my-hobby-projects/
4•harichetlur•54m ago•3 comments

China reports largest gold discovery in more than seven decades (2025)

https://www.euronews.com/business/2025/11/14/china-reports-largest-gold-discovery-in-more-than-se...
1•wslh•58m ago•1 comments

Show HN: Cyber+ – A cybersecurity-focused programming language

https://github.com/TanmayCzax/Cyber-Programming-language-Alpha
1•CzaxTanmay•59m ago•0 comments

Photographer 'over the Moon' with iconic ET recreation two years in the making

https://www.bbc.com/news/articles/cp3z475kxwpo
1•1659447091•1h ago•0 comments

New Apple Creator Studio Icons

https://www.reddit.com/r/MacOS/s/aPa5goAtSo
2•virgildotcodes•1h ago•0 comments