cd /news/large-language-models/need-advice-on-building-a-chatbot · home › topics › large-language-models › article
[ARTICLE · art-169840] src=discuss.huggingface.co ↗ pub= topic=large-language-models verified=true sentiment=· neutral

Need advice on building a chatbot

A non-technical Hugging Face forum user building a property-database RAG chatbot on Claude 4.6 via AWS Bedrock reported wrong cited numbers, hallucinations and thin answers, and was advised by forum respondent nootxlm to add a post-generation check that every number and cited fact appears in the retrieved passages, regenerating or declining to answer when it does not. The respondent also recommended freezing 20–30 real questions with hand-verified answers and scoring every change against that set, since a change that does not reduce wrong citations on it did not help.

read1 min views3 publishedNov 15, 2026
Need advice on building a chatbot
Image: Discuss (auto-discovered)

ashalwi 1

Hello smart people of HF!

I’ve been wrestling to build a chatbot for a company project for months now. I’m not technical, and I am still learning. The use case for the chatbot/assistant is to help users seek answers from a property related database. I have built a RAG system from PDFs, Excel sheets/workbooks and website info. The results are often rubbish: Wrong cited numbers, model hallucinates, thin answers and many more failures.

Can anyone advice on the best approach to build a chatbot, please? Is there a step by step process to this?

I am using Claude 4.6 as the chatbot model via AWS bedrock

nootxlm 2

Your three failures point to the same missing step: nothing checks the answer against its sources after the model writes it. Add that check first — every number and cited fact in a reply has to appear in the retrieved passages behind it, and when a number is not there, the system regenerates or says it does not know instead of guessing. Then freeze 20–30 real questions with answers you have verified by hand from the database, and score every change against them: if wrong citations do not fall on that set, the change did not help, whatever a single demo feels like.

── more in #large-language-models 4 stories · sorted by recency
── more on @hugging face 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/need-advice-on-build…] indexed:0 read:1min 2026-11-15 · —