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!

Assistant to the Regional Manager

https://smallpotatoes.paulbloom.net/p/assistant-to-the-regional-manager
1•NaOH•53s ago•0 comments

Show HN: CoChat MCP – Let your team review what your coding agent is building

https://github.com/CoChatAI/mcp-cochat
1•intheleantime•55s ago•0 comments

Friday Links #34: Fresh JavaScript Tools and Releases

https://jsdevspace.substack.com/p/friday-links-34-fresh-javascript
1•javatuts•2m ago•0 comments

Making a Game for the Pokémon Mini [video]

https://www.youtube.com/watch?v=48Mg4YMJGIk
1•surprisetalk•2m ago•0 comments

Trying to Make an Automated Ecologist

https://chillphysicsenjoyer.substack.com/p/trying-to-make-an-automated-ecologist
1•surprisetalk•2m ago•0 comments

Agent orchestration isn't just for coders

https://handyai.substack.com/p/agent-orchestration-isnt-just-for
1•surprisetalk•3m ago•0 comments

The strongest encryption is just noise

https://hypertextgarden.com/p/the-strongest-encryption-is-just
1•surprisetalk•3m ago•0 comments

jonesforth

https://github.com/nornagon/jonesforth
2•tosh•3m ago•0 comments

GitHub Agentic Workflows are now in technical preview

https://github.blog/changelog/2026-02-13-github-agentic-workflows-are-now-in-technical-preview/
1•agluszak•5m ago•0 comments

Cost-benefit analysis no longer applies, because cost is effectively zero

https://twitter.com/NirZicherman/status/2022308568091754880
1•shoes_foots•6m ago•1 comments

Bali's thieving monkeys can spot high-value items to ransom

https://www.theguardian.com/science/2021/jan/14/balis-thieving-monkeys-seek-bigger-ransoms-for-hi...
1•amichail•6m ago•0 comments

Show HN: SatGate – Budget enforcement proxy for MCP tool calls (L402/macaroons)

1•satgate•7m ago•0 comments

Tuning in to College Radio Materials on World Radio Day 2026

https://blog.archive.org/2026/02/13/tuning-in-to-college-radio-materials-on-world-radio-day-2026/
1•speckx•7m ago•0 comments

Show HN: Mac apps are signed in. Why make an AI authenticate too?

1•spamsch•7m ago•0 comments

10k+ Funny Quotes

https://funny-quotes.com/
1•hackerbeat•8m ago•0 comments

My First Vulkan Extension

https://christian-gmeiner.info/2026-02-13-my-first-vulkan-extension/
1•todsacerdoti•8m ago•0 comments

Zed editor switching graphics lib from blade to wgpu

https://github.com/zed-industries/zed/pull/46758
12•jpeeler•9m ago•1 comments

Show HN: I built a macOS app that toggles between extended/mirrord monitor setup

https://github.com/vrn21/monitor-toggle
2•vrn21•9m ago•0 comments

Outperforming AWS Comprehend in a Weekend

https://huggingface.co/OvermindLab/nerpa
1•TylerOvermind•10m ago•0 comments

Stop Typing, Start Talking

https://www.eliostruyf.com/stop-typing-start-talking/
1•rlv-dan•12m ago•0 comments

Meta Plans 'Name Tag' Facial Recognition for Ray-Ban Smart Glasses

https://www.macrumors.com/2026/02/13/meta-facial-recognition-smart-glasses/
4•kotaKat•12m ago•1 comments

Ask HN: Does Your Country Require Voter ID?

1•RickJWagner•14m ago•0 comments

Show HN: A zero-setup sandbox for testing Bitcoin Lightning payments

https://github.com/getAlby/sandbox
2•getAlby•14m ago•1 comments

LLM Council Skill for Claude Code

https://github.com/dair-ai/dair-academy-plugins/blob/main/plugins/llm-council/skills/llm-council/...
1•omarsar•15m ago•0 comments

Ask HN: How do you shut down misbehaving AI in production?

2•nordic_lion•15m ago•1 comments

The "new vision" for infectious disease in the US

https://homunculusmusic.wordpress.com/2026/02/13/how-to-use-the-substack-editor/
1•only_in_america•16m ago•0 comments

Show HN: Open-Source AI Contact Center

https://github.com/modelguide/modelguide
2•arturwala•16m ago•1 comments

Rare Mithraic altars found in Scotland go on display for the first time

https://www.thehistoryblog.com/archives/75352
2•piersj225•16m ago•0 comments

Confluent (Nasdaq: CFLT) holders approve acquisition by IBM parent

https://www.stocktitan.net/sec-filings/CFLT/8-k-confluent-inc-reports-material-event-d2c4a068313b...
1•taubek•18m ago•0 comments

How to build a distributed queue in a single JSON file on object storage

https://turbopuffer.com/blog/object-storage-queue
1•_peregrine_•20m ago•0 comments