frontpage.
newsnewestaskshowjobs

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•1y ago

Comments

zljdanceholic•1y 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!

Multi-connectivity for real-time streaming over Wi-Fi

https://nanoping.com/benchmarks/wifi-roaming
1•mortenvp•32s ago•0 comments

Pilots taken to hospital after reported cockpit stabbing on Israel-bound flight

https://www.bbc.co.uk/news/live/cw980g1lem5pt
1•FridayoLeary•1m ago•0 comments

Show HN: AgentX – Run Claude Code, Codex or Any LLM from Your Chats and GitHub

https://github.com/anis-marrouchi/agentx
1•marrouchi•2m ago•0 comments

Fighting back against AI chatbots at work

2•FunForEveryone•3m ago•0 comments

The Internet has a second audience

https://blog.cloudflare.com/agentic-web/
1•torutofu•3m ago•0 comments

CanMV-K230D-Zero Development Board – RISC-V, 128MB LPDDR4 on MCU SoC

https://www.kendryte.com/k230_canmv/en/main/userguide/boards/canmv_k230d.html
1•peter_d_sherman•3m ago•0 comments

The last time my family was replaced by technology

https://manuel.darcemont.fr/posts/the-last-time-my-family-was-replaced-by-technology/
2•megalomanu•5m ago•0 comments

Reusable, testable decisions for agent orchestration with Jev

https://www.agentconnect.md/blog/introducing-jev-support/
2•zfy0701•6m ago•0 comments

Show HN: Overads, a superapp for marketing (content, publishing, ads, CRM)

https://overads.io
1•ishqdehlvi•6m ago•0 comments

Two Reports

https://terrytao.wordpress.com/2026/09/30/two-reports/
1•smilelamp•6m ago•0 comments

Show HN: SFML – A markup language for software factories, Terraform for agents

https://sfml.craftmill.dev/
1•mcwhittemore•8m ago•0 comments

How to update missing windows drivers in Windows 11?

2•lucytaylor01•8m ago•0 comments

We Will Forget How to Code. And That's OK

https://bosnadev.com/2026/09/28/we-will-forget-how-to-code
1•mirzap•9m ago•0 comments

Dubai to Tel Aviv flight made emergency landing due to fight between pilots

https://www.timesofisrael.com/liveblog_entry/hijacking-ruled-out-as-flydubai-flight-to-tel-aviv-l...
1•souvlakee•9m ago•1 comments

Nobody Is Thinking Anymore

https://yusufaytas.com/nobody-is-thinking-anymore
5•yusufaytas•9m ago•0 comments

Show HN: Four frontier models argue over your AI agent's riskiest code

https://truverif.ai/panel-review
1•vivekpolavarapu•9m ago•0 comments

Delegation Runs on Proof

https://www.forjal.com/research/delegation-runs-on-proof
2•Lucasllfs•10m ago•0 comments

Paper Console: A handmade thermal printer for news, weather, puzzles, and more

https://travismiller.design/paper-console/
1•sasvari•11m ago•0 comments

Sweaty Agent builder vs. Chill [video]

https://www.youtube.com/shorts/adzrrT1Z5gY
1•davletdz•12m ago•0 comments

Show HN: Limereach – a launch board where you engage before you post

https://limereach.com
1•pho3n1x•13m ago•0 comments

Behavioral Drift: Know When Your Agent Has Changed, Before Your Customers Do

https://medium.com/@MirArshadTalpur/behavioral-drift-know-when-your-agent-has-changed-before-your...
1•Arshad-Talpur•14m ago•1 comments

Show HN: Get your girlfriend back with AI

https://getdazzle.app/
1•dohoudjann•14m ago•1 comments

Vorlagenplatz

https://ailaunch.dev/p/vorlagenplatz
1•pb193105•14m ago•0 comments

Show HN: AilaFlow – AI workflow automation for teams with Human-AI interfaces

https://github.com/ailaflow/ailaflow
1•b4rtazz•15m ago•1 comments

Heimr 570M: a local model that stays fast as the context grows

https://sevren.ai/blog/heimr-570m
1•ilreb•17m ago•0 comments

Firefox Nova Is Here

https://blog.mozilla.org/addons/2026/09/29/nova-is-here-what-changes-for-your-firefox-theme/
2•_grilled_cheese•18m ago•1 comments

Vite+ 1.0

https://voidzero.dev/posts/announcing-vite-plus-1-0
2•TheAlexLichter•18m ago•0 comments

xAI. AI coworkers that learn from your team

https://x.ai/news/team-bots
1•iugtmkbdfil834•21m ago•0 comments

The road to daily-drivable mainline phones

https://nura.eco/blog/2026/09/29/road-to-main-category/
1•pamcake•22m ago•0 comments

Legal Graffiti Walls Around the World

https://www.legal-walls.net
1•bookofjoe•22m ago•0 comments