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!

Orval: OpenAPI to TypeScript Magic

https://orval.dev/
1•nateb2022•50s ago•0 comments

FDA Reverses Decision and Agrees to Review Moderna's Flu Vaccine

https://www.nytimes.com/2026/02/18/health/fda-moderna-flu-vaccine-mrna.html
1•mikhael•56s ago•0 comments

Lessons learned building a web application crawler

https://www.rainforestqa.com/blog/web-application-crawler
1•ukd1•1m ago•0 comments

John Lennon never agreed to record new music. They made him anyway

https://medium.com/@lea.leumassart/john-lennon-never-agreed-to-record-new-music-they-made-him-any...
1•pbacdf•2m ago•0 comments

Show HN: I built an app that forces me to drink water before I can open TikTok

https://www.thirsttr.app/
1•danndecl•3m ago•0 comments

Show HN: Seamless Auth – open-source passwordless authentication

https://github.com/fells-code/seamless-auth-api
1•bccorb1000•3m ago•0 comments

Show HN: Built a Next.js CLI to scaffold UI blocks, sections, and page templates

https://github.com/jblh/nextworks-cli
1•nextjsdev•4m ago•0 comments

MxCheckSec: Validate SPF, DKIM, DMARC, and More

https://blog.kulkan.com/mxchecksec-validate-spf-dkim-dmarc-and-more-f223f48d5453
1•laserspeed•4m ago•1 comments

AI has fixed my productivity

https://blog.dmcc.io/journal/ai-has-fixed-my-productivity/
1•speckx•6m ago•0 comments

KV Cache Compression

https://github.com/Kranium2002/cacheshrink
1•Kranium2002•6m ago•1 comments

TamboUI, an open-source Terminal UI framework for Java

https://tamboui.dev/
1•mfiguiere•7m ago•0 comments

Show HN: Clawy, a companion device to track your Claude Code sessions

https://clawy.lol/
2•mrcv•7m ago•0 comments

RackPeek: Document Your Home Lab the Easy Way (Docker Install) [video]

https://www.youtube.com/watch?v=RJtMO8kIsqU
1•timmoth_j•8m ago•0 comments

Show HN: Product skills for AI agents - discovery, strategy, PRDs

https://github.com/assimovt/productskills
1•tair•9m ago•0 comments

Understanding Whole Program Paths and Path Profiling

https://abhamra.com/blog/path-profiling/
2•todsacerdoti•9m ago•0 comments

Superbad

https://www.superbad.com/
2•keepamovin•10m ago•0 comments

Show HN: Lenzy – Find out what users struggle with in your AI agent, for free

3•BohdanPetryshyn•12m ago•2 comments

Show HN: Spawn – Deploy and Self-Heal Any GitHub Repo

https://github.com/runnerelectrode/spawn
1•gauravguitara•13m ago•0 comments

Show HN: SentinelGate – Universal Firewall for AI Agents (Open Source, Go)

https://github.com/Sentinel-Gate/Sentinelgate
1•Sentinel-gate•13m ago•1 comments

Does Light Consist of "Object[S]"?

https://reason.com/volokh/2026/02/17/does-light-consist-of-objects/
2•pcaharrier•14m ago•1 comments

Race between primes of the forms 4k and 1 and 4k and 3

https://www.johndcook.com/blog/2026/02/15/chebyshev-bias/
2•ibobev•14m ago•0 comments

Llms.py new workspace editor for AI-powered browser automations

https://llmspy.org/docs/features/browser
1•mythz•14m ago•0 comments

Orbital hodograph – Plotting velocity of Keplerian orbit

https://www.johndcook.com/blog/2026/02/16/hodograph/
1•ibobev•14m ago•0 comments

Aitrivia.io – Chatbots Trivia Night

https://aitrivia.io/
1•lampysecurity•15m ago•0 comments

Around the World: One Year In

https://frozenfractal.com/blog/2026/2/14/around-the-world-29-one-year-in/
1•ibobev•15m ago•0 comments

Language Models Entangle Language and Culture

https://arxiv.org/abs/2601.15337
1•paraschopra•16m ago•0 comments

Show HN: Satgate-proxy – Hard budget caps for MCP tool calls (zero deps, npx)

https://github.com/SatGate-io/satgate-proxy
1•satgate•16m ago•1 comments

Foss.cooking

https://foss.cooking/
1•radeeyate•17m ago•0 comments

AVX2 is slower than SSE2-4.x under Windows ARM emulation

https://blogs.remobjects.com/2026/02/17/nerdsniped-windows-arm-emulation-performance/
9•vintagedave•18m ago•0 comments

Show HN: tspub all in one TypeScript package toolkit

https://www.tspub.dev/
1•AnishhGiri•18m ago•1 comments