frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Ask HN: Should I Combine Global Knowledge, Internet Search, and User RAG

1•abdrhxyiii•1h ago
I'm building a SaaS platform in Sri Lanka that handles documents and other sensitive data.

Each user can upload their own documents and information, and the platform uses RAG to answer questions based on that user's data. That part makes sense to me.

My main concern is what happens when the user hasn't uploaded enough information. I still want the LLM to provide accurate answers using reliable information from the internet (or from a curated knowledge base), with proper citations.

These are the two architectures I'm considering:

Option 1:

Base LLM (OpenAI/Anthropic via Azure AI Foundry or Amazon Bedrock) ↓ Platform RAG (global knowledge base managed by us) ↓ User-specific RAG In this approach, we maintain a global knowledge base that we (the platform admins) curate and update. Every user can access this shared knowledge, while their own uploaded documents are searched through their personal RAG.

Option 2:

Open-source LLM ↓ Fine-tuned on Sri Lankan/domain-specific data ↓ User-specific RAG Here, we fine-tune an open-source model using Sri Lankan or domain-specific data, and each user still has their own RAG for their private documents.

My concerns are:

Is fine-tuning actually the right solution here, or is it unnecessary?

Is a global/shared RAG a better approach than fine-tuning?

How would you design this architecture if you wanted:

Accurate answers from domain knowledge

User-private document search

Citations/sources

Good scalability for thousands of users

I'm leaning toward Option 1 because fine-tuning seems expensive, time-consuming, and I have no experience with it yet. However, I'm not sure if I'm thinking about this correctly.

I'd really appreciate hearing how others would approach this problem

Comments

tirrellp•1h ago
Build both and evaluate which you prefer and why

Show HN: Vocabulary, a daily game to learn words(V2)

https://www.quizingo.app/vocabulary
1•coder97•41s ago•0 comments

It's not empowering to hand off the details

https://davidnicholaswilliams.com/its-not-empowering-to-hand-off-the-details/
2•davnicwil•5m ago•0 comments

I spent a while building a torrent client for the Mac. It's called Swarm

https://get-swarm.com/
1•gkaimakas•10m ago•0 comments

Show HN: Simple Daily Game

https://playchain.app/
1•Fluzzman•12m ago•0 comments

The Constitutionality of Civil Forfeiture (2016)

https://yalelawjournal.org/feature/the-constitutionality-of-civil-forfeiture
1•downbad_•12m ago•0 comments

How AST-grep Rewrote Tree-sitter in Rust and Made It 30% Faster

https://astgrep.com/blog/tree-sitter-rust-rewrite
2•herrington_d•12m ago•0 comments

French firefighters face 'pyrocumulonimbus' for first time

https://www.france24.com/en/live-news/20260726-french-firefighters-face-pyrocumulonimbus-for-firs...
4•saaaaaam•13m ago•1 comments

Turn your phone into a remote deck for your Windows laptop

https://github.com/ronak-create/LapDeck
1•ronak_parmar•16m ago•1 comments

Independent PHA Asteroid Notability Scoring by Astrophyzix Observatory

https://www.academia.edu/167939168/The_Astrophyzix_Risk_Index_ARI_A_Heuristic_Scoring_System_for_...
2•ProfessorRob•21m ago•0 comments

Ask HN: Anyone else experiencing extreme Codex limits token burn rate?

1•throwaway2027•21m ago•1 comments

Reproducible negative result on the BATADAL water-ICS benchmark

https://github.com/holland202/sentinel-batadal-validation
1•badatchess•22m ago•0 comments

SP/1.0: deterministic, reproducible verdicts for AI-agent decisions

https://github.com/Fame510/SHACKLE/blob/master/SP-1.0-SPECIFICATION.md
2•shacklepro•22m ago•0 comments

OpenLoco Version 26.07 Release

https://openloco.io/news/2026/07/openloco-v26.07.html
1•jandeboevrie•25m ago•0 comments

Lisp moving Forth moving Lisp

https://letoverlambda.com/textmode.cl/guest/chap8.html
1•fallat•26m ago•0 comments

BYD Yangwang U8 has remarkable emergency floating function that would save lives

https://supercarblondie.com/byd-yangwang-u8-emergency-floating-function/
2•thunderbong•26m ago•0 comments

How Arsonists used cats to spread Italy's wildfires

https://www.cnn.com/2026/07/22/europe/arson-cats-italy-wildfires-latam-intl
2•paulpauper•26m ago•0 comments

Entrance exam for the British India civil service

https://twitter.com/pietergaricano/status/2080582758670151704
2•paulpauper•26m ago•0 comments

Authoritative Dnsmasq in a MikroTik Container

https://op-co.de/blog/posts/mikrotik_authoritative_dnsmasq/
2•ge0rg•28m ago•0 comments

A Taxonomy of Internet Demons(2025)

https://lastwordonnothing.com/2025/03/31/a-taxonomy-of-internet-demons/
2•rolph•30m ago•0 comments

How to Write English Prose

https://thelampmagazine.com/blog/how-to-write-english-prose
4•geneticdrifts•34m ago•0 comments

More Data on Online Age Authentication Balk Rates

https://blog.ericgoldman.org/archives/2026/07/more-data-on-online-age-authentication-balk-rates.htm
1•HotGarbage•34m ago•0 comments

Show HN: Boffin – Staff-engineer layer for AI coding agents

https://github.com/MicSm/boffin
2•mic_sm•35m ago•0 comments

Calling all open source maintainers working with Ruby

https://www.rubyforum.org/t/calling-all-open-source-maintainers-working-with-ruby/553
4•arto•35m ago•1 comments

Scientists link oral bacteria to heart disease and cognitive decline

https://www.wsj.com/health/wellness/oral-bacteria-heart-disease-health-43d0207e
5•fortran77•37m ago•0 comments

Ask HN: Do you delete your browsing history?

2•tempestn•39m ago•0 comments

Show HN: Turn a diff into an evidence-backed Assumption Ledger

https://github.com/Teycir/Assumptions
1•teycir•42m ago•0 comments

Lidl Introduces the European Payment Method Wero in Germany

https://unternehmen.lidl.de/pressreleases/260724_lidl_pi_einfuehrung_wero
4•doener•43m ago•2 comments

What are the costs and risks of replacing COBOL systems with modern alternatives

https://twitter.com/BrianRoemmele/status/2081212772818551269
2•ksec•46m ago•2 comments

Doom running on a computer made of regex find-and-replace

https://4rh1t3ct0r7.github.io/doom-regex/
2•4RH1T3CT0R•47m ago•1 comments

Is it useful to measure "biological" vs. "chronological" age?

https://www.economist.com/science-and-technology/2026/07/24/is-it-useful-to-measure-biological-v-...
2•bookofjoe•47m ago•1 comments