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!

Show HN: The first financial intelligence MCP server live trading signals Claude

https://web-production-71423.up.railway.app/mcp-server
1•Shmungus•1m ago•0 comments

Show HN: Forage – MCP server that lets AI agents find and install their own MCPs

https://github.com/isaac-levine/forage
1•DoomedWheel1027•2m ago•0 comments

AI as Exoskeleton

https://clabs.org/blog/AiAsExoskeleton
1•the_chrismo•5m ago•1 comments

A.I. Salaries Are Causing Couples to Rethink Money in Relationships

https://www.nytimes.com/2026/02/14/business/artificial-intelligence-relationships-income-gap.html
1•mooreds•9m ago•0 comments

Sub-second volumetric 3D printing by synthesis of holographic light fields

https://www.nature.com/articles/s41586-026-10114-5
2•westurner•12m ago•0 comments

EU bans AI use on government work devices

https://www.neowin.net/news/eu-parliament-bans-ai-use-on-government-work-devices/
1•bundie•13m ago•1 comments

Filkoll – The fastest command-not-found handler (2025)

https://vorpal.se/posts/2025/mar/25/filkoll-the-fastest-command-not-found-handler/
1•crispinh•14m ago•0 comments

The Death of Traditional Testing

https://engineering.fb.com/2026/02/11/developer-tools/the-death-of-traditional-testing-agentic-de...
1•manveerc•17m ago•0 comments

Apple Begins Testing End-to-End Encryption for RCS Messages in iOS 26.4 Beta

https://www.macrumors.com/2026/02/16/ios-26-4-rcs-encryption-testing/
3•contact9879•18m ago•0 comments

Meta is wrong to try to sneak into facial recognition with Ray-Ban glasses

https://www.bloomberg.com/opinion/articles/2026-02-16/meta-is-wrong-to-try-to-sneak-into-facial-r...
2•socialcommenter•20m ago•4 comments

Access public data insights faster: Data Commons MCP is now hosted on GCloud

https://developers.googleblog.com/access-public-data-insights-faster-data-commons-mcp-is-now-host...
2•manveerc•21m ago•1 comments

I built a tool for software developers

https://techstack.sh/
2•harrypotterwish•24m ago•1 comments

Frederick Wiseman, 96, Penetrating Documentarian of Institutions, Dies

https://www.nytimes.com/2026/02/16/movies/frederick-wiseman-dead.html
2•mhb•27m ago•0 comments

Poor Deming never stood a chance

https://surfingcomplexity.blog/2026/02/16/poor-deming-never-stood-a-chance/
2•todsacerdoti•28m ago•0 comments

Introducing Package Chaos Monkey

https://nesbitt.io/2026/01/26/introducing-package-chaos-monkey.html
2•pabs3•31m ago•0 comments

Facing a demographic catastrophe, Ukraine is paying for troops to freeze sperm

https://www.bbc.com/news/articles/cqxd9549y4xo
12•tartoran•36m ago•1 comments

Fixapl

https://fixapl.netlify.app/
1•todsacerdoti•38m ago•0 comments

Show HN: Constrained DSL for Reliable LLM Decisions

https://github.com/myinvestpilot/ai-architecture/blob/main/docs/01_ai_native_primitives_engine.md
1•madawei2699•39m ago•1 comments

An AI CEO said something honest: ExperiencedDevs

https://old.reddit.com/r/ExperiencedDevs/comments/1r6olcv/an_ai_ceo_finally_said_something_honest/
7•ivewonyoung•42m ago•1 comments

Finding forall-exists Hyperbugs using Symbolic Execution

https://dl.acm.org/doi/full/10.1145/3689761
2•todsacerdoti•44m ago•0 comments

Amazon van gets stuck on Britain's 'most dangerous' mudflat path

https://www.theguardian.com/uk-news/2026/feb/16/amazon-van-stuck-britain-mudflat-path-broomway-th...
2•zeristor•44m ago•1 comments

25 Years of All Your Base Are Belong to Us (Slightly Remastered)

https://www.youtube.com/watch?v=orY1RztncqE
2•decimalenough•44m ago•3 comments

Thinking Hard Burns Almost No Calories–But Destroys Your Next Workout

https://vo2maxpro.com/blog/thinking-hard-burns-no-calories-destroys-workout
1•GoodluckH•45m ago•0 comments

Show HN: An Open-source React UI library for ASCII animations

https://github.com/zeke-john/rune
4•zekejohn•46m ago•3 comments

Ask HN: How's Business These Days for Fiverr Freelancers?

2•burnerToBetOut•46m ago•0 comments

Show HN: I graded 234 stocks on free cash flow (not earnings)

https://aureus-swart.vercel.app
2•babylonprince•48m ago•0 comments

Watching an elderly relative trying to use the modern web

7•ColinWright•48m ago•4 comments

Ask HN: What is something someone else did that made your day better?

2•blahaj•48m ago•1 comments

Show HN: OpenEntropy – 47 hardware entropy sources from your computer's physics

https://github.com/amenti-labs/openentropy
1•amentiflow•49m ago•0 comments

Shard – A Distributed P2P AI Network for Shared Inference

https://github.com/TrentPierce/Shard
1•tpierce89•50m ago•2 comments