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•10mo ago

Comments

zljdanceholic•10mo 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!

I used autoresearch to fix Gumroad's flaky tests in a week

https://twitter.com/gianfrancopiana/status/2037199814694228187
1•sahillavingia•1m ago•0 comments

Moooooonitoring the Cow.txt Herd

https://moooo.farm/
1•fridek•1m ago•0 comments

Ask HN: What is your take on the importance of code quality when coding with AI?

1•maciejj•1m ago•0 comments

Show HN: Dataf*ck – An Esoteric Data Format

https://xlii.space/projects/datafuck/
1•xlii•2m ago•0 comments

Serving Cow.txt over HTTP

https://moooo.farm/rfc
1•fridek•2m ago•0 comments

FDI – AI scaling engine based on Fractal Dimension of Information

https://github.com/AaronMazur-FDI/FDI_DEPLOY
1•Veyren_FDI•3m ago•0 comments

SaaS Architecture: What Every Founder Needs to Know

https://synmek.com/saas-architecture-what-every-founder-needs-to-know-before-writing-a-single-lin...
1•ganjamuncha•3m ago•0 comments

Hidden Risks and Optionalities in American Options

https://arxiv.org/abs/2602.14350
1•simonebrunozzi•3m ago•0 comments

New Construction Management Software – Builtup.io

https://www.builtup.io/
1•ganjamuncha•3m ago•0 comments

Spotify and Liquid Death release a limited-edition speaker shaped like an urn?

https://techcrunch.com/2026/02/24/spotify-and-liquid-death-release-a-limited-edition-speaker-shap...
1•PaulHoule•3m ago•0 comments

Hill-Climbing ARC-AGI-3. Human Performance with Opus 4.6

https://blog.alexisfox.dev/arcagi3
1•famouswaffles•4m ago•1 comments

The Hackers Who Tracked My Sleep Cycle

https://glama.ai/blog/2026-03-26-the-hackers-who-tracked-my-sleep-cycle
1•statements•4m ago•0 comments

Apple adds new partners to its American Manufacturing Program

https://www.apple.com/newsroom/2026/03/apple-adds-new-partners-to-its-american-manufacturing-prog...
1•peterspath•4m ago•0 comments

Show HN: A tiny macOS app that stops your Dock from jumping between monitors

https://timlenardo.github.io/docklock/
1•telenardo•5m ago•0 comments

Friction Is Everything

1•Candelyabr•5m ago•0 comments

NL Kubernetes Maintainers Read Mean Comments (2024) [video]

https://www.youtube.com/watch?v=sNRnB4rGZBI
1•mooreds•5m ago•0 comments

Meshery 1.0 debuts, offering Infrastructure as Design for cloud native infra

https://www.networkworld.com/article/4150130/meshery-1-0-debuts-offering-new-layer-of-control-for...
1•lcalcote•5m ago•0 comments

Why we're building a different type of web index

https://www.newscatcherapi.com/blog-posts/why-were-building-a-different-type-of-web-index
1•artembugara•7m ago•0 comments

Language mapping with electrical stimulation during awake neurosurgery

https://www.science.org/doi/10.1126/sciadv.adw1599
1•PaulHoule•7m ago•0 comments

Vibe physics: The AI grad student

https://www.anthropic.com/research/vibe-physics
2•gmays•9m ago•0 comments

Stripe Projects: Provision and manage services from the CLI

https://projects.dev/
2•piinbinary•9m ago•0 comments

Show HN: Claude skill that evaluates B2B vendors by talking to their AI agents

https://github.com/salespeak-ai/buyer-eval-skill
5•ogotlieb•9m ago•0 comments

Canadian Court elevates thumbs-up emoji to signature status (2023)

https://mccabes.com.au/insights/canadian-court-elevates-thumbs-up-emoji-to-signature-status-2/
1•speckx•9m ago•0 comments

Demystifying Reinforcement Learning for Long-Horizon Tool-Using Agents

https://arxiv.org/abs/2603.21972
1•brandonb•11m ago•0 comments

Architecture patterns for integrating LLM agents into enterprise knowledge work

https://pattersonconsultingtn.com/blog/architecturepatternsforintegratingagentsintoknowledge_work...
1•jpattanooga•13m ago•1 comments

Remilia Is 60 Years Behind

https://remilia-60.pages.dev/
1•eustoria•13m ago•0 comments

Apple pushes Maps ads in free training-wheels business bundle

https://www.theregister.com/2026/03/25/apple_business_free_advertising_maps/
1•pjmlp•13m ago•0 comments

TR-49

https://exple.tive.org/blarg/2026/03/24/tr-49/
1•eustoria•14m ago•0 comments

The Systemic Barbell Effect: Death of the Median

https://gist.github.com/alpeware/055c14cdad4a2f0d50f9275d017baaed
1•simonpure•14m ago•0 comments

Beyond Context Graphs

https://yearofthegraph.xyz/newsletter/2026/03/beyond-context-graphs-how-ontology-semantics-and-kn...
1•Anon84•14m ago•0 comments