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!

Career: A word invented chiefly to provide guidance counselors with careers

https://karlesky.net/filament/2013/7/12/career-a-word-invented-chiefly-to-provide-guidance-counse...
1•bencornia•32s ago•0 comments

Show HN: Arbiter – A GitHub Action that could have prevented CrowdStrikes outage

https://github.com/marketplace/actions/arbiter-deployment-coherence-check
1•getarbiter•5m ago•0 comments

The People of Emacs

https://kelar.org/~bandali/2025/12/31/people-of-emacs.html
2•lr0•10m ago•0 comments

Post-Juvenile Civilization: Why the West Is Stuck in Adolescence

https://gwbudenbauer.substack.com/p/post-juvenile-civilization-the-morphology
1•GWBudenbauer•11m ago•0 comments

Big Tech's plans for data centers running into stiff community opposition

https://www.boston25news.com/news/technology/big-techs-fast/YLEHLCPSXI36PCMRO7SSLR4JYE/
2•1vuio0pswjnm7•13m ago•0 comments

Agentic AI – RAG Agents with MCP: Know and Do

https://toknow.ai/posts/rag-agents-mcp/
1•mckabue•13m ago•0 comments

Show HN: Living Memory Dynamics – "living" episodic memory embedding space

https://github.com/mordiaky/LMD
1•Mordiaky•14m ago•0 comments

Show HN: Tab Master Chrome extension for managing tabs with auto-suspend

https://chromewebstore.google.com/detail/tab-master-save-tabs-auto/cffmohngbglhnnneppndhcifppjpmpae
1•aabdoahmed•16m ago•0 comments

Irishman leading construction of world's largest ever telescope

https://www.rte.ie/news/2026/0104/1551428-telescope-ireland/
1•austinallegro•17m ago•0 comments

Show HN: Give Aesthetic.Computer

https://give.aesthetic.computer
1•justanothersys•21m ago•0 comments

Using iperf3 and Prometheus for WAN link monitoring

https://freebsd.uw.cz/2026/01/using-iperf3-and-prometheus-for-wan.html
1•todsacerdoti•31m ago•0 comments

Industry Notice: BTR (BeatsToRapOn) Hits 5M+ Views and 11.5M Streams

https://beatstorapon.com
1•beatstorapon•31m ago•0 comments

Extended Rigid Bodies

https://www.puzzlescript.net/Documentation/rigidbodies.html
3•112233•33m ago•0 comments

Empowering freelancers to close deals before the conversation goes cold

https://managerlist.com
1•miketu•36m ago•1 comments

Mars Calendar

https://marscalendar.space/
1•d_silin•40m ago•0 comments

Show HN: How to maintain calculators and product logic outside the core system

2•zeguru•41m ago•1 comments

What are your top non coding use cases with Claude Code?

3•akshat77•43m ago•0 comments

The disappearing middle of software work

https://twitter.com/karrisaarinen/status/2007534281011155419
1•oliverchan2024•44m ago•0 comments

Show HN: Agentu Minimalist Python AI agent framework

1•init0•45m ago•0 comments

It's 2026. AI writes most of my code. Now what?

https://twitter.com/leerob/status/2007203275461009508
1•ta-run•46m ago•1 comments

The AI debt boom does not augur well for investors

https://www.ft.com/content/d36f3392-9a73-476a-9357-8ff311bb04da
3•zerosizedweasle•50m ago•1 comments

Workout Social Media – Track, share, analyze your workouts

https://www.setly.org/
1•abdullah9•51m ago•0 comments

Morning Notes – Platform to read, explore and sync kindle highlights

https://www.morning-notes.com/
1•abdullah9•52m ago•0 comments

Google thinks this library is from 80s

https://github.com/BurntSushi/toml/issues/463
2•igoose1•55m ago•1 comments

ICE Is Using Facial-Recognition Technology to Quickly Arrest People

https://www.wsj.com/politics/policy/ice-facial-recognition-app-mobile-fortify-dfdd00bf
18•KnuthIsGod•59m ago•5 comments

How to Progress Faster Than Anyone Else in Your Career

https://getpushtoprod.substack.com/p/how-to-progress-faster-than-anyone
2•gpi•1h ago•0 comments

Building a Rust-Style Static Analyzer for C++ with AI

http://mpaxos.com/blog/rusty-cpp.html
2•shuaimu•1h ago•0 comments

HN4 – The Post-POSIX Filesystem

https://github.com/hn4-dev/hn4
4•phboot•1h ago•0 comments

Show HN: Free SoC 2 readiness checker – built after spending $15k on consultant

3•andy89•1h ago•0 comments

Is there any "cursor for excel / sheets"

2•yakshithk_•1h ago•0 comments