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

Comments

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

Skild AI Raises $1.4B, Now Valued over $14B

https://www.businesswire.com/news/home/20260114335623/en/Skild-AI-Raises-%241.4B-Now-Valued-Over-...
1•visioninmyblood•20s ago•0 comments

How to Self-Host Penpot

https://penpot.app/blog/how-to-self-host-penpot/
1•pentagrama•51s ago•0 comments

There are many coding agents, but this one is mine

https://buildwithpi.ai/
1•e12e•1m ago•0 comments

Universal Commerce Protocol (UCP) Blog

https://developers.googleblog.com/under-the-hood-universal-commerce-protocol-ucp/
1•tilt•4m ago•0 comments

Show HN: Mailbak – Email backup tool with a cyberpunk TUI built in Bun

https://github.com/codingstark-dev/backupmail
1•codingstark•4m ago•0 comments

Read this Steam news post before it vanishes

https://blog.lauramichet.com/read-this-steam-news-post-before-it-vanishes/
2•speckx•7m ago•0 comments

How AI Destroys Institutions

https://papers.ssrn.com/sol3/papers.cfm?abstract_id=5870623
1•chmaynard•7m ago•1 comments

Ask HN: Make cemeteries in cities less offensive by using virtual headstones?

1•amichail•8m ago•2 comments

GTFOBins

https://gtfobins.github.io/
1•tosh•8m ago•0 comments

Show HN: VoiceMeetAI – a Chrome extension for real-time interview Q&A

https://www.voicemeetai.com
1•MrGrife•8m ago•0 comments

Tell HN: Properly using dishwasher reduced friction with my wife

2•xylo•8m ago•0 comments

VSketch: Draw, Create, and Play with Code

https://vsketchproject.web.app
1•jackpste•9m ago•1 comments

OpenAI is partnering with Cerebras to add 750MW of compute in 10B USD deal

https://openai.com/index/cerebras-partnership/
3•alcasa•12m ago•1 comments

The AI data center deals that no one can verify

https://davefriedman.substack.com/p/the-ai-data-center-deals-that-no
1•gmays•12m ago•0 comments

NHAM Update Opus 12 (Fedi MTV Edition)

https://nham.co.uk/2026/01/nham-update-opus-12-fedi-mtv-edition/
1•crtasm•14m ago•0 comments

Show HN: Experimentplatform, A/B testing images with LLMs

https://github.com/igomez10/experimentplatform
1•igomeza•16m ago•0 comments

Meta, a Trustworthy Company, Leaks Surge of Demand for RayBan Glasses

https://daringfireball.net/linked/2026/01/14/meta-claims-glasses-surging
2•frizlab•17m ago•0 comments

GOG's new owner can't stand Windows either: 'It's such poor-quality software '

https://www.pcgamer.com/software/windows/gogs-new-owner-cant-stand-windows-either-its-such-poor-q...
6•truxs•17m ago•0 comments

Apple iPhone Exports From India Cross $23B In 2025

https://indiawest.com/apple-iphone-exports-from-india-cross-23-billion-in-2025/
2•nothrowaways•18m ago•0 comments

Ministral 3 – pruning via Cascade Distillation

https://arxiv.org/abs/2601.08584
1•everlier•18m ago•0 comments

Mobile AI-Driven IDE: Ready for Agents and Your Expertise

https://codeusse.wrbl.xyz
1•wrbl•20m ago•1 comments

Microsoft keeps reinstalling Copilot, so I found a way to rip it out for good

https://www.howtogeek.com/how-to-rip-out-copilot-from-windows-11/
6•rolph•24m ago•0 comments

Miniatur Wunderland

https://en.wikipedia.org/wiki/Miniatur_Wunderland
1•bschne•24m ago•0 comments

Reversibility

https://blog.zacbentley.com/post/on-reversibility/
1•zbentley•25m ago•0 comments

Simulating Cislunar Space: Why Experts Want to Construct a Digital Moon

https://aerospace.org/article/simulating-cislunar-space-why-experts-want-construct-digital-moon
1•mooreds•26m ago•0 comments

Show HN: FormTS – Define forms with TypeScript instead of drag-and-drop

https://formts.com/editor
1•dkrychowski•26m ago•1 comments

Wind power slashed 4.6B euros off electricity bills in Spain last year

https://www.surinenglish.com/spain/wind-power-slashes-billion-euros-off-electricity-bills-2025121...
46•mooreds•27m ago•10 comments

Trump administration halts immigrant visa processing from 75 countries

https://www.theguardian.com/us-news/2026/jan/14/immigrant-visas-suspended-trump
5•ta752368•31m ago•2 comments

Use Agents or Be Left Behind? A Personal Guide to Automating Your Own Work

https://timdettmers.com/2026/01/13/use-agents-or-be-left-behind/
1•mathis-l•32m ago•0 comments

Claude Cowork Exfiltrates Files

https://www.promptarmor.com/resources/claude-cowork-exfiltrates-files
7•takira•33m ago•2 comments