How we built a Bangla RAG sales assistant for Facebook Messenger
Inside our Bangla AI sales assistant for Messenger: hybrid RAG, batching, memory, buying signals, guardrails, cost caps and why a 21x cheaper model lost.
A language model can answer customers, read documents and draft content. It only becomes useful to your business when it works from your information, follows your rules and costs what you planned. DevTech365 provides AI development and integration services that add LLM features, assistants and chatbots to the software your business runs on, with evaluation, guardrails and spending limits built in from the first prototype.
AI Development
Typical deliverables
Common technology
Gemini API, OpenAI API, Ollama, MongoDB Atlas Vector Search, pgvector, Redis
For most businesses, AI development is integration work rather than model training. Capable hosted models already exist. What has to be built is everything around them: retrieval from your documents and databases, permissions that mirror the ones you already have, checks on what the model says before a customer sees it, a route to a person when the AI shouldn't answer, and metering that shows what each feature costs.
As an AI development company, DevTech365 builds LLM features inside existing products, retrieval-augmented assistants that answer from your own content, chatbots for websites and messaging channels, and pipelines that turn documents into structured data. We run the same patterns in our own products. Our retrieval-augmented sales assistant has answered Bangla questions about features and pricing in PromptCV.app's Messenger inbox since July 2026, including leads from paid ads.
Models get things wrong, can be steered by hostile input and charge for every call. We treat those facts as design constraints rather than edge cases. We will also tell you when a search box, a rules engine or a better form would do the job more cheaply and more reliably than a model.
The situations that usually lead teams to look for ai development help.
Questions about features, prices and orders arrive on your website and in messaging apps at all hours. Your team types the same replies again and again, and a lead left waiting until morning may have moved on.
Invoices, applications, contracts and forms arrive as PDFs, scans and attachments, and someone copies the details into your systems field by field. The work is slow, error-prone and grows with every new customer.
A model answering from its training data will describe products you don't sell and promise terms you don't offer. Answers need to come from your approved content, and the assistant needs to decline when that content doesn't cover the question.
A prompt that impressed everyone in a demo has no test set, no spending limit and no defense against people who try to misuse it. Without those, it either never ships or ships with risks nobody planned for.
Capabilities within our ai development service. Most engagements combine several.
Summaries, classification, drafting, translation and natural-language search inside the product your team or customers already use, behind the same sign-in and permissions.
Answers drawn from your documents, help center, catalog or database through hybrid vector and full-text search, with the sources behind every answer recorded and access rights respected.
Assistants for your website, your app and messaging channels such as Messenger and WhatsApp, with conversation memory, follow-ups that respect quiet hours and a clear handoff to your team.
Structured fields pulled from PDFs, scans, emails and forms, validated against your business rules, with anything that fails validation routed to a person for review.
Drafts of product descriptions, replies, posts and reports written from your own material, checked against your style guide and a list of claims you never make, then approved by a person before publishing.
Open-weight models running on your own servers or private cloud through tools such as Ollama, for data that must stay in-house, compared openly with hosted models on quality, speed and hardware cost.
How we deliver ai development, and why it holds up after launch.
We build on hosted models such as Gemini and OpenAI's GPT models when quality and speed matter most, and on open-weight models through Ollama when data has to stay in-house. Retrieval, guardrails and metering live in your own backend rather than in a vendor's console, so changing providers means swapping one component and re-running the test set, not rewriting the product.
What may be sent to an external provider, what must be masked first, what gets logged and for how long, and which provider terms apply to your data.
Hosted APIs offer the strongest models with no hardware to run. Self-hosted open-weight models keep data in-house but need suitable hardware, upkeep and their own evaluation.
Prompt length, retrieved context, model size, caching and message batching decide what each answer costs, and per-user and global limits cap the total.
Messaging platforms expect webhooks to be acknowledged quickly and limit when businesses may message people, so slow model calls run in background jobs and follow-ups are scheduled within the rules.
Typical choices. The right stack depends on your requirements and the team that will own the software.
Routine questions are answered from your own content in moments, and your team picks up the conversations that need a person.
Details from documents arrive in your systems already structured, so staff review the exceptions instead of retyping every field.
Each reply is logged with the sources it drew on, so a wrong answer can be found, explained and corrected.
Metering and hard limits tie AI costs to the usage you planned for, not to a busy week or a single misbehaving user.
Because evaluation, retrieval and guardrails sit in your own code, you can move to a better or cheaper model when the test set shows it is worth it.
Clear stages, each ending with something you can review and approve.
We look at where time goes, what data exists and what could go wrong, then pick the task where AI is most likely to pay off. Sometimes the right answer is not to use AI at all.
We gather the documents, examples and expected answers the system will be judged against, and decide what data may be sent where.
A working version is tested against the evaluation set, with candidate models compared on quality, speed and cost per task.
Integration with your systems, permissions, guardrails, handoff, logging and spending limits, delivered with automated tests.
Internal users first, then a share of real traffic, with conversations and outputs reviewed closely in the early weeks.
Failed answers feed back into the content and the test set, and every change to prompts or models is re-evaluated before release.
Straight answers to the questions we hear most. If yours isn't here, ask us directly.
Ask a questionRarely. Most business uses are served well by a hosted model combined with retrieval over your own content, which keeps answers current without retraining anything. Fine-tuning can help when you need a narrow format or tone at high volume, and training a model from scratch is almost never worth it for a single business. We start with the simplest approach that passes your test set.
Yes. In AI chatbot development we prefer one backend for every channel: a chat widget on your site, a panel inside your app, and messaging channels such as Messenger and WhatsApp, each within its platform's rules on when and how businesses may reply. Every channel then shares one knowledge base, one set of guardrails and one handoff path to your team.
No one can remove every error from a language model, so we reduce errors and contain them. The assistant answers only from retrieved, approved content and declines when that content doesn't cover the question. Pre-send checks catch risky claims such as prices and promises, and a person takes over when a conversation needs one. We measure accuracy on your own test set rather than quoting a general figure.
We treat every user message and every retrieved document as untrusted. Instructions are kept separate from data, inputs are screened, the model gets only the tools and data a task requires, and outputs are checked before they are sent or acted on. PagePilot, our multi-tenant SaaS for Facebook Pages (pre-launch, awaiting Meta App Review), uses a four-layer prompt-injection guard. No defense is perfect, which is why a model should never hold secrets or permissions it doesn't need.
That is decided before the first call. We review each provider's data-use and retention terms with you, send only the context a task needs, mask personal data where possible and log what was sent. When data must not leave your infrastructure, open-weight models can run on your own servers, trading some capability for control. If regulation applies, we work through it with your compliance team.
Building depends on scope, integrations and how much evaluation the risk calls for, and a short discovery phase turns that into an estimate. Running cost depends on volume, prompt size and the model. During the prototype we measure cost per conversation or per document on real data, so you see the running cost before committing to a full build. In production, per-user and global limits keep spending inside the budget you set.
Inside our Bangla AI sales assistant for Messenger: hybrid RAG, batching, memory, buying signals, guardrails, cost caps and why a 21x cheaper model lost.
Where AI earns its place in business software (retrieval, drafting, extraction, triage), where it does not, and how to guard, test and budget a first feature.
Tell us what you want to build and where you are today. We'll reply with questions, next steps and an honest view of how we can help.