How to build an AI assistant for your business: a practical RAG guide
A general-purpose AI chat tool does not know your return policy, your product catalogue or your internal procedures. Worse, it may confidently make something up. A company AI assistant answers only from sources you have approved and can show which document an answer is based on. This guide explains how such an assistant works, how it is built and which mistakes most often derail these projects.
What problems does it solve?
The use cases with the fastest return are usually:
- Customer support: 24/7 answers about orders, delivery, returns, warranties and products on your website or WhatsApp.
- Internal knowledge base: Staff find procedures, HR policies, technical documentation and contract templates in seconds.
- Sales support: An assistant that knows product specifications, price lists and past proposals, and drafts replies for the sales team.
- Technical service: A helper that suggests troubleshooting steps from manuals and past tickets.
What these have in common: most questions repeat, and the answer is already written down somewhere.
What is RAG and why does it matter?
With RAG (retrieval-augmented generation), the model first searches your documents, finds the relevant passages and then writes its answer based only on those passages. There is no need to retrain the model on your data (fine-tuning).
This approach has three major advantages:
- Freshness: When a price list changes, you update the document; the model does not need retraining.
- Citations: The assistant can state which document an answer came from, so users can verify it.
- Access control: Each user only receives answers from documents they are allowed to see.
Architecture: five components
A typical business assistant consists of:
- Data sources: PDFs, Word files, web pages, Google Drive, Notion, support tickets, database tables.
- Ingestion and chunking: Documents are split into meaningful sections (usually a few paragraphs each) while keeping titles and source information.
- Vector database: An "embedding" representing the meaning of each chunk is calculated and stored in a searchable way. For small and mid-sized projects, PostgreSQL with pgvector is often sufficient.
- Language model: The retrieved chunks and the user's question are passed to the model. Models from OpenAI, Anthropic (Claude) and Google (Gemini) are commonly used.
- Interface and integrations: A chat widget on the website, WhatsApp, Slack/Teams or an internal panel. Where needed, the assistant connects to a CRM or order system to query live data.
Build steps
1. Narrow the scope
Starting with an "assistant that knows everything" is the most common mistake. Pick one use case for the first version (for example, only delivery and returns questions) and list the 30–50 most frequent questions. This list defines the scope and later becomes your test set.
2. Clean up the documents
An assistant can never be better than the documents it reads. Conflicting versions, outdated price lists and scanned PDFs without text all reduce answer quality. Assigning an owner and an update schedule to each document keeps the project healthy in the long run.
3. Test chunking and search strategy
Chunk size, preserving headings and combining semantic search with keyword search (hybrid search) determine whether the right passage is found. Hybrid search is particularly useful for product codes, names and abbreviations.
4. Write the answering rules
The system instructions should state clearly: rely only on the provided sources; if the answer is not in the sources, say so and offer a handover to a person; quote critical facts such as prices and dates exactly; cite the source.
5. Measure before launch
Run the question list from step one: was the right source found, was the answer correct, did the assistant decline where it should have? Repeat this test after every document or model change.
6. Design the human handover
A good assistant does not try to answer everything. For complaints, refund approvals or custom pricing requests, it should summarise the conversation and hand it to the right person. This handover affects customer satisfaction more than the assistant's answer rate.
Cost drivers
The cost of an assistant has three parts:
- Build: Data preparation, integrations, interface and testing. A first version focused on one use case is typically live within 2–4 weeks.
- Model usage: API fees per question. For short and medium answers the cost per question is low for most businesses; the main driver is how much document text is sent to the model with each question.
- Maintenance: Document updates, extending the test set, new use cases.
When calculating return on investment, consider the number of questions the assistant handles, the cost of one question to your team and the requests that would otherwise be missed at night and at weekends.
Data security
Business API offerings from the major model providers state that submitted data is not used for model training by default. Even so, what data leaves your systems should be a deliberate design decision. Personal data should be masked where possible, access permissions applied at document level and retention periods for conversation logs defined. Organisations serving the UK and EU must also consider UK GDPR and GDPR; see the AI data protection checklist for details.
Common mistakes
- Uploading documents without cleaning them: The assistant mixes up old and new prices.
- Launching without a test set: Nobody knows whether quality is improving.
- Not allowing the assistant to say "I don't know": The model fills gaps with invention.
- Forgetting the human handover: Users are left stuck and trust erodes.
- Treating it as a one-off project: As documents change, the assistant needs maintenance too.
Conclusion
A well-designed business AI assistant takes over a large share of repetitive questions and frees your team for work that genuinely needs a person. The keys to success are scope, data quality and measurement more than the choice of model: start with a small use case, measure with a test set and expand step by step.
uurstudios builds business AI assistants starting with a discovery call, followed by a pilot use case, a test set and integrations with existing systems. See the services overview or get in touch to discuss your requirements.