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!

We still need small language models – even in the age of frontier AI

https://www.turing.ac.uk/blog/why-we-still-need-small-language-models-even-age-frontier-ai
1•mooreds•1m ago•0 comments

A Landscape View of Robotic Skills, Agents, and the Architecture

https://medium.com/@telekinesis-ai/the-telekinesis-physical-ai-stack-a-landscape-view-of-robotic-...
1•CCB-TK•1m ago•1 comments

Slackbot is an AI agent now

https://techcrunch.com/2026/01/13/slackbot-is-an-ai-agent-now/
1•prng2021•1m ago•0 comments

Context Engineering in Practice: How Atlassian Builds AI for Real Developer Work [video]

https://www.youtube.com/watch?v=FeuoB9aaHHk
1•mooreds•1m ago•0 comments

llms .py – Extensible OSS ChatGPT UI, RAG, Tool Calling, Image/Audio Gen

https://llmspy.org/docs/v3
1•mythz•5m ago•0 comments

Healthy dietary pattern and risk of rheumatoid arthritis: meta-analysis

https://pubmed.ncbi.nlm.nih.gov/40913838/
2•RickJWagner•5m ago•1 comments

Creating an Agentic Skill Library for Robotics, Computer Vision, and Physical AI

https://medium.com/@telekinesis-ai/creating-an-agentic-skill-library-for-robotics-computer-vision...
2•CCB-TK•7m ago•0 comments

Show HN: A dashboard for VS Code extension authors to track search rankings

https://www.vscoderank.com/
1•devoxyes•9m ago•1 comments

Confused between lowlevel and back end development – need guidance

2•DRIVER_OCTA•9m ago•0 comments

Cells Use 'Bioelectricity' to Coordinate and Make Group Decisions

https://www.quantamagazine.org/cells-use-bioelectricity-to-coordinate-and-make-group-decisions-20...
1•pseudolus•9m ago•0 comments

I deserve to write at least two or three more arithmetic expression parsers

https://buttondown.com/jaffray/archive/i-deserve-to-write-at-least-two-or-three-more/
1•ibobev•10m ago•0 comments

Claude Code's system prompt: what governs its behavior

https://rastrigin.systems/blog/claude-code-part-2-system-prompt/
1•rastriga•11m ago•1 comments

Building in-browser autocomplete for entries with Radix Tries

https://aarol.dev/posts/wasm-trie-autocomplete/
1•ibobev•11m ago•0 comments

Maggots Are an Efficient Source of Protein

https://www.smithsonianmag.com/science-nature/maggots-incredibly-efficient-source-protein-may-mak...
1•lehi•11m ago•0 comments

Optimizing spatiotemporal variance-guided filtering for modern GPU architectures

https://jcgt.org/published/0015/01/02/
1•ibobev•11m ago•0 comments

A New Jersey lawsuit shows how hard it is to fight deepfake porn

https://techcrunch.com/2026/01/12/a-new-jersey-lawsuit-shows-how-hard-it-is-to-fight-deepfake-porn/
1•pseudolus•12m ago•0 comments

Legacy code modernization – structured process, pay on delivery

1•millhouse1112•12m ago•0 comments

Trump's exercise of power upends world order, sending friends and foes reeling

https://www.reuters.com/world/trumps-exercise-raw-power-upends-world-order-sending-friends-foes-r...
1•Bondi_Blue•12m ago•0 comments

Meet.google.com – Low frame rate for screen shares

https://bugzilla.mozilla.org/show_bug.cgi?id=1983227
1•doener•12m ago•1 comments

Quixote: An open-source event indexer for EVM blockchains (Rust and DuckDB)

https://github.com/bilinearlabs/quixote
1•bibiver•13m ago•1 comments

Ireland recalls 13k passports after software update makes them unusable

https://www.irishtimes.com/ireland/2026/01/09/thousands-of-irish-passports-recalled-due-to-printi...
1•giuliomagnifico•13m ago•0 comments

Anthropic Invests $1.5M in the Python Software Foundation and OSS Security

https://pyfound.blogspot.com/2025/12/anthropic-invests-in-python.html
1•miketheman•14m ago•0 comments

NASA topples towers used to test Saturn rockets, space shuttle

https://arstechnica.com/space/2026/01/nasa-topples-towers-used-to-test-saturn-rockets-space-shuttle/
2•bookofjoe•15m ago•0 comments

How to find remote dev jobs with no country restrictions

https://relocateme.substack.com/p/how-to-find-remote-from-anywhere
3•andrewstetsenko•17m ago•0 comments

Show HN: Swiftward – on-prem policy engine for LLM guardrails and UGC moderation

https://github.com/disciplinedware/swiftward
1•joker3d•17m ago•2 comments

Mysterious YouTube video that's '140 years long' has everyone confused

https://www.dexerto.com/youtube/mysterious-youtube-video-thats-140-years-long-has-everyone-confus...
1•croes•18m ago•0 comments

The New Compiler Stack: A Survey on the Synergy of LLMs and Compilers

https://hgpu.org/?p=30502
1•mpweiher•18m ago•0 comments

Proton Lumo 1.3: Introducing Projects, a better way to organize and create

https://proton.me/blog/lumo-1-3
2•teekert•19m ago•1 comments

Intent Realization Fidelity: Verifying That Systems Do What They Claim

https://zenodo.org/records/18166827
1•takko_the_boss•21m ago•0 comments

Signal creator Moxie Marlinspike wants to do for AI what he did for messaging

https://arstechnica.com/security/2026/01/signal-creator-moxie-marlinspike-wants-to-do-for-ai-what...
3•fleahunter•23m ago•1 comments