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: Idea Reality MCP – Pre-build reality check for AI coding agents

https://github.com/mnemox-ai/idea-reality-mcp
1•mnemoxai•37s ago•0 comments

Show HN: Tag Promptless on any GitHub PR/Issue to get updated user-facing docs

1•prithvi2206•54s ago•0 comments

Show HN: Emdash – Open-source agentic development environment

https://github.com/generalaction/emdash
1•onecommit•1m ago•0 comments

Pentagon, Musk's xAI reach agreement to use Grok in classified systems

https://www.aa.com.tr/en/americas/pentagon-musk-s-xai-reach-agreement-to-use-grok-in-classified-s...
1•Betelbuddy•2m ago•0 comments

Former Norwegian premier hospitalized after suicide attempt amid Epstein charges

https://www.aa.com.tr/en/europe/former-norwegian-premier-hospitalized-after-suicide-attempt-amid-...
2•Betelbuddy•4m ago•0 comments

Jira Ticket Analysis Web App (Free)

https://jiralens.com/
1•thebitvader•5m ago•1 comments

Myelin repair promoted by clemastine fumarate in nonhuman primate model

https://www.pnas.org/doi/10.1073/pnas.2520161123
1•bikenaga•5m ago•0 comments

One workspace for inspiration, intelligence, and creation

https://www.inspoai.io
1•sendnow•6m ago•0 comments

Show HN: Unthumb – Replace YT thumbnails with frames from the video

https://chromewebstore.google.com/detail/unthumb-hide-and-replace/ihibeclkodckpjfiihkcdhejpcielpcl
1•philcunliffe•6m ago•0 comments

STARC framework for Bank-Fintech risk management

https://www.independentbanker.org/w/starc-framework-for-bank-fintech-risk-management
1•petethomas•7m ago•0 comments

Emissaries – Constitutional principles for personal agents

https://commontask.org/emissaries/
2•durakot•7m ago•0 comments

Querying 3B Vectors

https://vickiboykis.com/2026/02/21/querying-3-billion-vectors/
1•mooreds•7m ago•0 comments

Finding Hidden Cloud Savings

https://newsletter.masterpoint.io/p/finding-hidden-cloud-savings
1•mooreds•7m ago•0 comments

Anthropic accuses China of 'industrial scale' attempt to steal Claude

https://www.neowin.net/news/anthropic-accuses-china-of-industrial-scale-attempt-to-steal-claudes-...
2•bundie•7m ago•0 comments

Least Privilege Manifesto

https://www.osohq.com/post/least-privilege-manifesto
2•boristane•8m ago•0 comments

Show HN: LoMux – Lightweight FFmpeg GUI in Rust (3MB Binary)

https://github.com/zblauser/LoMux
1•selectedambient•8m ago•0 comments

Sonic Attack on a Silent Vigil

https://earshotngo.substack.com/p/sonic-attack-on-a-silent-vigil
2•moxifly7•11m ago•0 comments

Re-thinking candidate take-homes in the AI Era: transcripts over code

https://rootly.com/blog/re-thinking-candidates-take-homes-in-the-ai-era-transcripts-over-code
1•jjtang1•12m ago•0 comments

1Password Raising Prices ~33%

5•iamben•14m ago•1 comments

Workaholic open source developers need to take breaks

https://www.theregister.com/2026/02/23/open_source_devs_column/
1•CrankyBear•14m ago•0 comments

Tritone Substitution

https://www.johndcook.com/blog/2026/02/23/tritone-sub/
1•ibobev•16m ago•0 comments

Giant Steps

https://www.johndcook.com/blog/2026/02/23/giant-steps/
1•ibobev•16m ago•0 comments

Formal determination of deidentification under California law

https://www.johndcook.com/blog/2026/02/23/copy-and-paste-law/
1•ibobev•16m ago•0 comments

Takeaways of building an MCP Server for my app

https://tagstack.io/blog/mcp-for-tagstack
1•greatNespresso•17m ago•0 comments

The Double Standard Is Killing AI Adoption in Your Team

https://blog.codeminer42.com/the-double-standard-is-killing-ai-adoption-in-your-team/
1•edigleysson•19m ago•0 comments

Show HN: OpenLingo – Connecting Sonnet 4.6 to a Duolingo-like interface

https://github.com/pretzelai/openlingo
1•ramonga•19m ago•0 comments

Show HN: Lattice – Track what top AI labs are publishing daily

https://www.layerthelatestinalattice.com
1•FlynnLachendro•19m ago•1 comments

Show HN: MasqueradeORM – Memory Efficient Node ORM: Just Write Classes

https://github.com/MasqueradeORM/MasqueradeORM
1•masqueradeorm•20m ago•1 comments

Frontier LLM Leaderboard

https://www.onyx.app/llm-leaderboard
1•RohoSwagger•20m ago•0 comments

Nearby Glasses

https://github.com/yjeanrenaud/yj_nearbyglasses
1•zingerlio•21m ago•0 comments