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!

Rust engineer – low-latency browser and agent infra – €100K–€170K and equity

https://twin.so/
1•gregherbelux•54s ago•1 comments

Archive.today CAPTCHA page executes DDoS; Wikipedia considers banning site

https://arstechnica.com/tech-policy/2026/02/wikipedia-might-blacklist-archive-today-after-site-ma...
1•gyrovague-com•1m ago•0 comments

Niko Table – Composition-based data table built on Shadcn/UI and TanStack Table

https://niko-table.com/
1•xcution•1m ago•1 comments

I Just Returned from China. We Are Not Winning

https://www.nytimes.com/2026/02/10/opinion/china-ai-ev-trump.html
2•sizzle•1m ago•0 comments

Standardizing HLSL

https://devblogs.microsoft.com/directx/standardizing-hlsl/
1•pjmlp•2m ago•0 comments

Compensation as a Reflection of Values (2021)

https://oxide.computer/blog/compensation-as-a-reflection-of-values
1•microsoftedging•2m ago•0 comments

State of HLSL: February 2026

https://www.abolishcrlf.org//2026/02/10/HLSLState.html
1•pjmlp•3m ago•0 comments

Show HN: Python TUI to Automate macOS VM Creation on Proxmox

https://github.com/lucid-fabrics/osx-proxmox-next
1•wmehanna•3m ago•0 comments

The Computer Chronicles – Artificial Intelligence (1985) [video]

https://www.youtube.com/watch?v=7Uz3HYfCIGc
1•tzury•3m ago•0 comments

Setting Up Zed

https://ljb.fyi/setting-up-zed/
1•todsacerdoti•3m ago•0 comments

Cubans Sent to U.S. Prison at Guantánamo Are Returned to Cuba

https://www.nytimes.com/2026/02/10/us/politics/cubans-sent-to-us-prison-at-guantanamo-are-returne...
4•jbegley•5m ago•0 comments

Surety Industry Makes Progress in Reaching Goal of Digitized Bonding (2022)

https://www.suretybondquarterly.org/2022/09/16/surety-industry-makes-progress-in-reaching-goal-of...
1•walterbell•5m ago•0 comments

Show HN: Alertmouse – a free, better version of Google Alerts

https://alertmouse.com
1•randfish•6m ago•0 comments

Creature – The desktop client for building, sharing and running MCP Apps

https://github.com/creature-run/creature
1•rmason•7m ago•1 comments

Love affairs and linear differential equations

https://fabiandablander.com/r/Linear-Love.html
2•DeathArrow•7m ago•0 comments

Prettier in Cursor has been broken for 3 weeks

https://forum.cursor.com/t/after-last-update-prettier-stopped-working/149213
1•vldszn•9m ago•1 comments

Show HN: Accountify – habit tracking with visible accountability

https://accountify.syncralabs.es/es
1•rodri_ia•10m ago•0 comments

Ensuring service life and enabling reuse of concrete in circular construction

https://link.springer.com/article/10.1617/s11527-025-02914-4
1•PaulHoule•10m ago•0 comments

ICANN is not a boring bureaucracy (2025)

https://www.dotcom.press/archive/icann84
1•wonger_•10m ago•0 comments

Kokoro TTS Hook for Claude Code

https://git.sr.ht/~cg/claude-code-tts
1•aeontech•10m ago•0 comments

Former Google CEO Dates Daughter of German Governor

https://www.bild.de/unterhaltung/stars-und-leute/eric-schmidt-and-gloria-sophie-former-google-ceo...
2•hackerbeat•12m ago•1 comments

Elon Musk, SpaceX lead workers' Covid-19 antibody study

https://www.hcamag.com/us/specialization/workplace-health-and-safety/elon-musk-spacex-lead-worker...
3•avonmach•12m ago•1 comments

Show HN: Fix Any CORS Error in Seconds

https://corsproxy.io/
1•mariusbolik•12m ago•0 comments

Show HN: EZClaw – Deploy OpenClaw agents in – 1 minute – no tech skills needed

https://ezclaw.app
1•felipejfc•12m ago•0 comments

Show HN: Reviewed 33 OpenClaw hosting providers so you don't have to

https://www.bestclawhosting.com
1•wadim_grasza•13m ago•0 comments

Go 1.26 Is Released

https://go.dev/blog/go1.26
1•spacey•13m ago•0 comments

Mamdani Hires Groundbreaking Computer Scientist as Chief Tech Officer

https://www.nytimes.com/2026/02/10/nyregion/mamdani-lisa-gelobter-gif.html
3•mitchbob•14m ago•2 comments

Show HN: Python TUI to Automate macOS VM Creation on Proxmox

https://github.com/lucid-labs/osx-proxmox-next
1•wmehanna•15m ago•0 comments

AI agent has more production access than your senior engineers

1•sallamzz92•15m ago•0 comments

Prettier in Cursor has been broken for 3 weeks

https://forum.cursor.com/t/after-last-update-prettier-stopped-working/149213?page=2
1•vldszn•16m ago•0 comments