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!

Reconstructability as a Threshold Question in AI-Mediated Representation

https://www.aivojournal.org/reconstructability-as-a-threshold-question-in-ai-mediated-representat...
1•businessmate•1m ago•1 comments

Open Source Strategies

https://tempestphp.com/blog/open-source-strategies
1•brentroose•2m ago•0 comments

ATT Room 641 [pdf]

https://jnslp.com/wp-content/uploads/2014/05/On-the-Bulk-Collection-of-Tangible-Things.pdf
1•rballpug•5m ago•1 comments

Two AI researchers are now funded by Solana

https://ghuntley.com/solana/
1•ghuntley•7m ago•0 comments

MultiLang‑ASM:A Universal Assembly Platform for Kids,Students,Kernel Developers

1•neuroosgenesis•9m ago•0 comments

Simpler than Photoshop but for free AI Landscaping

https://hadaa.pro/
2•Fh_•10m ago•1 comments

Photos Capture the Breathtaking Scale of China's Wind and Solar Buildout

https://e360.yale.edu/digest/china-renewable-photo-essay
3•mrtksn•11m ago•0 comments

Physics of foam resembles AI training

https://phys.org/news/2026-01-physics-foam-strangely-resembles-ai.html
2•sebg•12m ago•0 comments

Formbase – open‑source back end for HTML forms

https://github.com/formbase-dev/formbase
2•ephraimduncan•17m ago•0 comments

DB Branching in Mirrord

https://metalbear.com/blog/db-branching/
1•aviramha•19m ago•0 comments

A simple TUI video converter for the AV1 codec

https://github.com/framicheli/av1converter
1•francescomi•22m ago•0 comments

Show HN: Free and open sourced prompt skills game for kids

https://prompts.chat/kids
1•fka•23m ago•0 comments

Mission planning system will break before your rockets do

https://blog.satsearch.co/2026-01-14-spotlight-your-mission-planning-system-will-break-before-you...
1•kartikkumar•24m ago•0 comments

I built a tool to help me explain my work to clients automatically

https://delivrr.work/
1•ymfh•27m ago•1 comments

Show HN: 0xCal – A calorie tracker where you just describe what you ate

https://apps.apple.com/pl/app/0xcal-ai-calorie-tracker/id6749210009
1•namedix•28m ago•0 comments

Declarative YAML Workflow System for AI Agents

https://twitter.com/nedim0x01/status/2011733056709636471
1•nedim0x01•29m ago•1 comments

AI-powered automatic translation in WordPress (YouTube video tutorial)

https://gatoplugins.com/blog/youtube-video-tutorial-ai-powered-automatic-translation-in-wordpress
1•leoloso•32m ago•0 comments

LiteStar – a FastAPI rival (DTOs, controllers, msgpack)

https://litestar.dev/
1•begoon•32m ago•0 comments

Second Thoughts on James Burnham (George Orwell, 1946)

https://www.orwellfoundation.com/the-orwell-foundation/orwell/essays-and-other-works/second-thoug...
2•duggan•34m ago•0 comments

Semi-Automating 200 Pull Requests with Claude Code

https://blog.davisvaughan.com/posts/2026-01-09-claude-200-pull-requests/
1•sebg•35m ago•0 comments

The crisis whisperer: how Adam Tooze makes sense of our bewildering age

https://www.theguardian.com/business/2026/jan/15/the-crisis-whisperer-how-adam-tooze-makes-sense-...
1•6LLvveMx2koXfwn•37m ago•0 comments

Blacksmith – AI Powered Penetration Testing

https://github.com/yohannesgk/blacksmith
4•jchris280•42m ago•4 comments

Codeless Code – Fables and Koans for the Software Engineer

https://thecodelesscode.com/case/234
1•todsacerdoti•44m ago•0 comments

Napa: Powering Scalable Data Warehousing with Robust Query Performance at Google

https://research.google/pubs/napa-powering-scalable-data-warehousing-with-robust-query-performanc...
1•tosh•44m ago•0 comments

Bruce Perens: The Ham Radio Operator Who Made Trump Want Greenland

https://web.archive.org/web/20260115085443/https://www.linkedin.com/pulse/ham-radio-operator-who-...
1•weinzierl•45m ago•1 comments

Use Agents or Be Left Behind? A Personal Guide to Automating Your Own Work

https://timdettmers.com/2026/01/13/use-agents-or-be-left-behind/
4•sebg•46m ago•0 comments

Optimizing data throughput for Postgres snapshots with batch size auto-tuning

https://xata.io/blog/postgres-snapshots-with-batch-size-auto-tuning
1•gulcin_xata•46m ago•1 comments

Typical: TypeScript with type safety at runtime

https://typical.elliots.dev/
1•elliotshep•47m ago•0 comments

Me and the Machine

https://mitsuhiko.github.io/talks/me-and-the-machine/
2•obiefernandez•48m ago•0 comments

LevelDB is a fast key-value storage library

https://github.com/google/leveldb
1•tosh•49m ago•0 comments