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!

Show HN: AgentMarket – API marketplace where AI agents buy and sell capabilities

https://agentmkt.dev
1•AgentMarket•50s ago•0 comments

Show HN: Soros – AI for geopolitical macro investing

https://www.asksoros.com
1•muggermuch•1m ago•1 comments

OpenAI to Cut Back on Side Projects in Push to 'Nail' Core Business

https://www.wsj.com/tech/ai/openai-chatgpt-side-projects-16b3a825
1•mattas•3m ago•0 comments

A menu bar utility that transforms your clipboard – encode, format, and more

https://github.com/dmasior/dmtool
1•ecce_homo•6m ago•0 comments

Tri-skill framework for routing, verification, and judgment hygiene

https://github.com/SyntagmaNull/judgment-hygiene-stack
1•SyntagmaNull•6m ago•1 comments

CodeSandbox: Deprecation Notice

1•bstrama•7m ago•0 comments

Treasuries and other government bonds will keep selling off, BlackRock says

https://www.msn.com/en-us/money/markets/treasuries-and-other-government-bonds-will-keep-selling-o...
2•petethomas•7m ago•0 comments

Catly Browser (GeckoView) Beats Chrome on Speedometer 1.0 (Samsung S21)

1•MattSK•8m ago•0 comments

Conversational Software Engineering: Compiling Intent

https://robenglander.com/writing/cse-compiling-intent/
1•perelin•10m ago•0 comments

Show HN: Wuobly – An AI agent that searches the live web for B2B leads

https://wuobly.com
1•Bgach•10m ago•0 comments

Agent harness to use with 8090 Software Factory and apply AI agents to your SDLC

https://github.com/8090-inc/software-factory-harness
1•arjun_krishna1•15m ago•0 comments

Ask HN: How does HN do updates?

1•vsgherzi•16m ago•0 comments

Gaia-GIC-1: An Evolving Catastrophic Planetesimal Collision Candidate

https://iopscience.iop.org/article/10.3847/2041-8213/ae3ddc
1•jacquesm•16m ago•0 comments

Ask HN: How do you handle privacy policies for side projects?

2•sergei_pch•17m ago•4 comments

Pwning AWS Bedrock AgentCore's AI Code Interpreter

https://www.beyondtrust.com/blog/entry/pwning-aws-agentcore-code-interpreter
5•kmcquade•22m ago•0 comments

Ask HN: Why would this be a good idea?

1•ZLStas•23m ago•1 comments

Mistral AI Releases Forge

https://mistral.ai/news/forge
20•pember•23m ago•0 comments

Equipping workers with insights about compensation

https://openai.com/index/equipping-workers-with-insights-about-compensation
2•surprisetalk•24m ago•1 comments

ACP – Cryptographic admission control layer for autonomous agent actions

https://github.com/chelof100/acp-framework-en
1•chelof100•24m ago•2 comments

Apple Screen Sharing High Performance

3•chapoly1305•26m ago•0 comments

Regex Blaster

https://mdp.github.io/regex-blaster/
2•mdp•27m ago•1 comments

Device Hunt – Find Device by USB/PCI VID/PID

https://devicehunt.com/
1•Velocifyer•27m ago•1 comments

It feels like Claude goes down almost daily now

12•mrprincerawat•27m ago•4 comments

Contactless Respiratory Monitoring Using Acoustic Convolutional Neural Networks

https://www.mdpi.com/2673-4591/127/1/1
2•PaulHoule•27m ago•0 comments

Nvidia GTC 2026, More Signs of the AI Dark Compute Cycle

https://coastaljournal.substack.com/p/nvidia-gtc-2026-more-signs-of-the
1•petethomas•28m ago•0 comments

MCP server for Solana – wallet cleanup and trading on 12 DEXes

https://github.com/RefundYourSOL/refundyoursol-mcp
1•DesttE•29m ago•0 comments

Curated Female Founder Cohort in SF

https://jointheden.co/
8•Exorust•31m ago•0 comments

Music copyright case in Portland focuses on 12 bars from two Catholic hymns

https://www.oregonlive.com/entertainment/2026/03/music-copyright-case-in-portland-focuses-on-12-b...
3•voxadam•31m ago•0 comments

Elevated errors on Claude Opus 4.6

https://status.claude.com/incidents/mhnzmndv58bt
8•rob•32m ago•0 comments

CardSnap v2 – AI-driven study decks for print and mobile

https://www.card-snap.com/
1•lelia_florina•33m ago•1 comments