AI AGENTS
RAG and Knowledge Chatbots in Nepal: Answer from the Right Information
Krishna Mishra explains a practical knowledge-chatbot design approach: source quality, retrieval, access control, grounded answers and human handoff.
A business chatbot needs a source for its answers
AI chatbots and agents are part of the service work discussed through AI Automation Nepal. I am Krishna Mishra, the company’s founder and AI Automation Architect. This guide explains a knowledge-chatbot design pattern. It is not a claim that every project in my portfolio uses retrieval-augmented generation, or a disclosure of a private client implementation.
RAG connects a language model with retrieved information relevant to the question. For a business assistant, that might mean approved service descriptions or support documents. The useful starting question is which source should support an answer, who owns that source and how the system handles information it cannot find.
Prepare information around real questions
Remove obsolete or conflicting material before indexing it. Preserve useful metadata such as document title, owner and update context. Split content so a retrieved passage retains enough meaning to answer a question. A paragraph detached from the conditions that qualify it can produce a plausible but misleading response.
Test the questions customers actually ask. For Nepal-focused use, include the relevant languages and Romanised phrasing rather than assuming an English demonstration covers every audience. A retrieval method needs evaluation on those examples. A vector database can be part of the design, but storing embeddings alone does not establish answer quality.
Check retrieval separately from the final answer
If the right source never reaches the model, changing the answer prompt may not fix the problem. Inspect which passages were retrieved, then whether the answer stays within them. Include questions with no available answer, conflicting documents and requests outside the assistant’s role. The chatbot should have an intentional route to say it cannot confirm something.
Keep source references available where they help the user or reviewer. A fluent answer should not invent a price, policy or delivery promise. Refreshing a document also needs a defined path to update or remove its indexed representation; otherwise a changed page may leave an outdated passage in retrieval.
Build a small question set before widening access
Use an illustrative approved knowledge set with a current service description, an outdated version and no refund policy. Ask a question the current document answers, a question affected by the update and a question for which no policy exists. The assistant should retrieve the current source, avoid using the obsolete version and hand off the unsupported policy question.
Review retrieval and answer generation separately. If the source is missing from the retrieved context, inspect indexing, filters and retrieval settings. If the source is present but the answer adds an unsupported promise, inspect the answer policy and evaluation. Adding more documents indiscriminately can introduce conflicts rather than solve either problem.
Include an access test where one account must not retrieve another account’s private documents. A correct answer with the wrong user’s information is a failed system. Track answerability and handoffs along with correctness; an appropriate refusal to guess can be the intended successful outcome.
Separate knowledge access from permission to act
A public FAQ assistant and an account-specific assistant need different access boundaries. Check the user’s permissions before retrieving private content. If an agent can create a record or send a message, validate that action separately from generating an answer. Retrieved text is information to evaluate, not permission to execute instructions embedded in a document.
Through AI Automation Nepal, I connect chatbot discussions with CRM, n8n and custom software. Start with an approved document set and a reviewed question set, then add actions only when the requirement justifies them. The existing agents and NLP guides below provide related context; no claim of eliminating every incorrect answer or guaranteeing business results is made.