Home / Help Center / pos-app / Settings / AI Assistant
🤖 Settings

AI Assistant

AI Assistant is BazaarPOS's built-in AI helper — a chat panel you can ask questions in plain language, plus small "helper" tools that quietly sit on individual screens: camera scanners for invoices and bills, smarter search at billing, product entry suggestions, and ready-made business insights like reorder alerts and offer ideas.

📍 Menu path: Settings → AI Features (setup) — the AI Assistant panel and page helpers then appear across the app
👤 Who uses it: Admin-only to turn AI on and connect a provider (Settings → AI Features); once enabled, every staff role can use the AI Assistant panel and the on-page AI helpers wherever they already have access to that screen

Overview

AI Assistant is really two things working together: a floating chat panel (click the round AI button, usually bottom-right) you can type or speak questions into, and a set of small "helper" widgets docked onto specific pages — a camera-scan button here, a smarter search box there — that only appear once AI is switched on.

It is a paid Advanced plan feature. Even on a plan that includes it, nothing shows up until an Admin turns it on and connects an AI provider under Settings → AI Features; individual capabilities (ask-your-data, product help, smarter search, daily digest, message drafts, unusual-activity alerts, help copilot, business insights) are each their own toggle, so you can turn on only what your shop wants.

You choose which AI provider answers your questions — OpenAI, Claude (Anthropic), Google Gemini, Groq, Mistral, DeepSeek, xAI, OpenRouter, Together, Fireworks, Perplexity, Cerebras, Cohere, Qwen, Moonshot, or Ollama (a model that runs on your own computer). It always uses your own account and key with that provider. Picking Ollama with Privacy: Local Only means nothing about your shop ever leaves your device — the same "everything runs locally" promise the rest of BazaarPOS makes.

AI never changes your data by itself. Every scan, suggestion or draft comes back as something you review and confirm — a purchase order draft you check before saving, a category suggestion you can edit, a WhatsApp message you can rewrite before sending.

Answers about your sales, stock or customers are always real numbers pulled fresh from your own database at that moment — never guessed. The assistant can only read your data through a fixed set of safe, read-only lookups — it cannot run free-form queries or change anything — and it shows the rows it used in a table, so you can double-check any figure.

A mic button lets you talk instead of type, both in the AI Assistant panel and in the smart-search box at billing — it follows whatever language you have set as your Interface Language.

Where the AI helpers show up (once their toggle is on): a floating AI Assistant panel everywhere in the app; a smarter search + voice box and a receipt scanner on Sales and Quick Bill; duplicate-customer warnings on Customers; product suggestions, a product-label camera scanner, and duplicate-product warnings on Products; a bulk invoice-photo scanner on Purchase Orders; a business-card scanner on Suppliers; a bill-photo scanner and category suggestions on Expense Reports; and message-drafting help on Communication.

Before You Start

Step-by-Step Guide

1 Turn AI on for your shop

One-time Admin setup under Settings → AI Features.

  1. Go to Settings → AI Features and turn on Enable AI.
  2. Pick a Provider — OpenAI, Claude, Gemini, Groq, Mistral, DeepSeek, xAI, OpenRouter, Together, Fireworks, Perplexity, Cerebras, Cohere, Qwen, Moonshot, or Ollama for a fully local/offline model — and paste its API Key (skip this for Ollama; enter its server address instead, e.g. http://127.0.0.1:11434).
  3. Choose a Model (a small, fast model is usually enough and keeps costs low) and a Privacy Mode — Local Only (Ollama, nothing ever leaves your device) or Cloud OK.
  4. Optionally choose a Text reading (OCR) engine for photo scanning (Mistral OCR, Google Vision, Azure Document Intelligence or OCR.space, each with its own key). Leave it empty and your AI model reads the photos directly.
  5. Turn on just the features you want: Ask My Data, Product Assist, Smart Search, Daily Digest, Message Drafts, Unusual Activity Alerts, Help Copilot, Business Insights.
  6. Optionally set a Monthly Token Budget to cap AI usage cost — leave at 0 for unlimited.
  7. Click Save. AI helpers with an enabled toggle start appearing across the app immediately for every staff member, no page reload needed.
💡 Admin-only tab. Unlike the very first version of this tab, keys are now saved securely on the server (encrypted, masked as sk-…abcd when shown again) — they work the same on every device you log in from.

2 Ask a question about your shop in plain language

  1. Click the round AI button (usually bottom-right of the screen) to open the AI Assistant panel.
  2. Type a question — e.g. "What did I sell yesterday?", "Which items are low in stock?", "Who hasn't paid?", "Top 10 customers this month" — or tap the mic and speak it.
  3. The answer appears as a real table or card (not just text) pulled from your live data, with an "Open in [screen]" link (for Bills, Customers, Stock and Products) to jump straight to that page. You can also just say "open the customers screen".
  4. Ask a follow-up in the same chat ("and for sugar only?") — the assistant remembers the conversation. Tap the + for a new chat, or the clock icon to reopen or delete an earlier one.
💡 Costs, purchase price and other sensitive fields are automatically hidden from roles that should not see them (e.g. Cashiers never see cost price in an AI answer), the same as everywhere else in the app.

3 Get help using the app itself

  1. Open the AI Assistant panel and switch it to Help mode.
  2. Ask something like "How do I create a credit note?" or "Where do I set up GST e-invoicing?"
  3. The answer is drawn from BazaarPOS's own help documentation (this Help Center) with step-by-step instructions and a link to the relevant page.

4 Use the one-tap quick chips

A row of quick-action chips appears in the empty AI Assistant panel once the matching feature is on.

  1. Tap Today's summary for a plain-language morning digest: yesterday's sales vs. usual, cash vs. UPI split, low-stock alerts and dues collected (needs Daily Digest).
  2. Tap Anything unusual? to check for unusual voids, discount spikes, cash-drawer variance or after-hours billing (needs Unusual Activity Alerts).
  3. Tap What sells together?, Offer ideas or Cash next week for combo suggestions, personalised loyalty offers and a 7-day cash-flow outlook (needs Business Insights).
  4. Tap Check my GST rates to scan your whole catalogue for missing HSN codes or products whose GST rate looks out of line with similar items (needs Business Insights).
💡 These four are all worked out directly from your own sales/stock/customer data with plain arithmetic — no AI guessing involved, so they cost nothing against your token budget.

5 Find products faster while billing, by typing or speaking

  1. On Sales or Quick Bill, use the smart-search box (needs Smart Search) to type a loose description — "blue cotton shirt 40", "sugar-free biscuits" — and matching products show up even when the words don't match exactly.
  2. Tap the mic in the same box to speak the item instead of typing it.
  3. Tap a result to add it straight to the cart.

6 Catch duplicate customers or products before you save

  1. While saving a new Customer or Product, if something very similar already exists, a card appears — e.g. "This looks like existing customer Ramesh Kumar (98765…)" — right after you save (needs Product Assist).
  2. Open the suggested existing record to confirm whether it is really the same one, or ignore the card if it is genuinely different.

7 Get suggestions while adding a new product

  1. On Products, type just the product name and open the AI suggestion helper (needs Product Assist).
  2. Review the suggested category, HSN code, GST rate, unit, brand, description and tags, then copy in whichever ones you want with one tap.

8 Scan a printed invoice, label, card or receipt with your camera

One shared camera-scan pipeline powers five different scanners, each on the page where it is useful.

  1. Purchase invoice (Purchase Orders): upload one or more photos/PDFs — they queue and process one at a time with a progress counter — and each becomes a ready-to-check purchase draft matched against your product catalogue.
  2. Product label (Products): snap a packaging photo to get name/brand/category/MRP/unit/pack size/barcode/HSN/GST suggestions.
  3. Expense bill (Expense Reports): snap a bill photo for amount/date/paid-to/bill number/GSTIN plus a suggested category and GST-input-credit hint.
  4. Supplier business card (Suppliers): snap a card photo for name/company/phone/email/GSTIN/address, all copy-ready.
  5. Customer receipt (Sales/Quick Bill, for returns and warranty checks): snap the customer's printed receipt to pull the bill number, date, total and items, then copy the bill number straight into Returns to find the original sale.
💡 By default the photo goes to your own AI provider's image-reading model, which fills in the fields (with Ollama it stays on your computer, but you need a vision model such as llava or llama3.2-vision). If you choose a dedicated OCR engine under Settings → AI Features → Text reading (OCR), the photo goes to that OCR service instead and only the text goes to your AI model. PDF files work with Claude, Gemini, Mistral OCR and Azure; with other setups upload a photo (JPEG, PNG or WEBP).

9 Scan any document from the assistant

  1. Open the AI Assistant panel and tap Scan a document.
  2. Pick what you are scanning. Every shop has Product label, Expense bill, Supplier business card and Customer receipt. Some shop types add their own: Medicine strip (pharmacy, vet, clinic, dental), Warranty card (electronics, mobile, computer, watch, repair, optical), Hallmark / jewellery tag, and Garment / footwear tag (garment, footwear, tailoring, sports, toys).
  3. Choose or take the photo. The fields it read appear as a list, followed by any warnings.
💡 Which types appear depends on your shop type and on which features are switched on (Product Assist for labels, cards and receipts; Business Insights for expense bills).

10 Check the warnings after a scan

  1. After every scan BazaarPOS checks what was read and lists anything that looks wrong: a GSTIN that is not valid (one character may have been misread), line amounts or totals that do not add up, a GST rate that is not a standard slab (0, 0.25, 3, 5, 12, 18 or 28), an HSN code that does not have 4, 6 or 8 digits, a barcode of the wrong length, CGST and SGST that differ, a date in the future, or a medicine past its expiry date.
  2. Compare each warned field with the paper and correct it before you save.
💡 Small rounding differences (up to ₹2.50 on a total) are not flagged. The checks only warn — they never change what was read.

11 Ask the assistant to prepare a product or a bill

The assistant only ever prepares a draft. Nothing is saved until you press Save yourself.

  1. In the AI Assistant panel, ask for what you want — for example "add a product Test Rice 5kg price 50 mrp 55 category Grocery" or "make a bill for 2 Rice and 1 Sugar for Asha".
  2. A card titled Draft — nothing is saved yet shows what it understood, with any warnings (an existing product with the same name, a price above the MRP, not enough stock). If a name matches several products, tap the one you mean.
  3. Tap Review and save in Products (or Review in New Sale). The product form or the New Sale screen opens already filled in; check it, then Save or complete the sale as usual.
💡 Only Admin, Owner and Manager can prepare a product draft; any signed-in staff member can prepare a bill draft. The total on a bill card is an estimate — the New Sale screen works out the final tax and total — and a customer is matched only by exact name or phone number.

12 Draft a customer message

  1. Open the Message Draft helper on Communication (needs Message Drafts).
  2. Pick a purpose — payment-due reminder, promotion, festival greeting — and a customer.
  3. Review the drafted WhatsApp/SMS message (written in that customer's language, with their real due amount or points already filled in), edit if needed, then send.

Every Field & Button, Explained

Field / ButtonWhat it does
AI Assistant floating buttonOpens the chat panel from anywhere in the app; hidden entirely if AI is off or your plan does not include it.
Ask / Help modesAsk answers real questions about your sales/stock/customers with live data; Help searches BazaarPOS's own documentation for how-to answers.
Mic buttonSpeech-to-text input in the AI Assistant panel and the billing smart-search box; follows your Interface Language; hides itself if your browser/device has no working speech service.
Quick chipsToday's summary, Anything unusual?, What sells together?, Offer ideas, Cash next week, Check my GST rates — one-tap common questions shown when the panel is empty.
New chat / Earlier chatsStart a fresh conversation, or reopen or delete an earlier one. Follow-up questions continue the current chat.
Scan a documentQuick action in the panel: choose a document type (common ones plus your shop type's own), pick a photo, and see the fields it read with any warnings.
Draft cardWhat the assistant prepared for a new product or a bill, with warnings. Nothing is saved until you open it in Products / New Sale and press Save.
Settings → AI Features: Text reading (OCR)Optional dedicated OCR engine (Mistral OCR, Google Vision, Azure Document Intelligence, OCR.space) with its own key; empty means your AI model reads photos directly.
Smart search + voice (billing)Finds products by loose description instead of an exact name match, on the Sales and Quick Bill screens.
Duplicate warning cardAppears after saving a Customer or Product that looks very similar to an existing record.
Product Assist suggestionsSuggested category, HSN, GST rate, unit, brand, description and tags from just a product name, with copy-to-fill buttons.
Camera-scan buttonsOne per screen — Purchase Orders (invoices, bulk), Products (labels), Expense Reports (bills), Suppliers (business cards), Sales/Quick Bill (customer receipts).
Settings → AI Features: Provider / ModelWhich AI company answers your questions and which of that provider's models is used; smaller/cheaper models are usually enough for day-to-day use.
Settings → AI Features: API KeyYour own account's credential for the chosen provider; stored encrypted on the server and shown masked once saved. Not needed for Ollama.
Settings → AI Features: Privacy ModeLocal Only (Ollama, nothing leaves your device) or Cloud OK (uses your chosen cloud provider).
Settings → AI Features: feature togglesAsk My Data, Product Assist, Smart Search, Daily Digest, Message Drafts, Unusual Activity Alerts, Help Copilot, Business Insights — each independently turns its matching helpers on or off app-wide.
Settings → AI Features: Monthly Token BudgetOptional monthly cap on AI usage; 0 means unlimited. Once hit, AI answers pause until the budget resets or is raised.

Tips & Best Practices

Troubleshooting & FAQ

The AI button/helpers don't show up anywhere.
Check three things in order: your plan includes the ai_assistant feature (Settings shows an upgrade note instead of the AI Features form if not), Settings → AI Features has Enable AI switched on with a provider and key saved, and at least one feature toggle underneath it is on.
One specific helper (e.g. Smart Search on billing) is missing but the AI Assistant panel works fine.
Each helper has its own feature toggle on Settings → AI Features — the master switch alone is not enough. Turn on the specific toggle for that helper (e.g. Smart Search) and save.
I get "AI is unavailable right now" or nothing happens when I ask something.
Your AI provider may be temporarily down, or its API key may have expired or run out of credit. Everything else in BazaarPOS keeps working normally — retry in a minute, or check your provider account and the API key saved in Settings → AI Features.
AI answers stopped after working fine earlier this month.
You may have hit your Monthly Token Budget. Raise it or set it to 0 (unlimited) on Settings → AI Features, or wait for it to reset next month.
A scan came back with missing or wrong fields.
The photo may be blurry, angled or poorly lit, or the model you chose may be weak at reading photos (small local models often are). Retake the photo flat and well-lit, try a stronger model or a dedicated OCR engine under Settings → AI Features, or fill in the missing field by hand. The scanner never invents values that are not in the document, and its warnings point out values that look wrong.
A scan says the model returned nothing, or that my file type is not supported.
Reading photos needs a model that can see images; with Ollama that means a vision model such as llava or llama3.2-vision (pick it in Settings → AI Features). PDF files work with Claude, Gemini, Mistral OCR and Azure; with other setups upload a JPEG, PNG or WEBP photo instead.
Smart Search finds nothing, or says the index is empty.
Smart Search needs your products indexed once by an embeddings service (OpenAI, Gemini or Ollama). With Claude, Groq or another provider that has none, Ollama must be reachable at the address saved in Settings → AI Features. The index builds automatically on first use; if your provider key is wrong the search stays empty.
The mic button is missing from the AI Assistant panel.
It only appears when your browser/device has a working speech-recognition service, and hides itself automatically after a hard failure (e.g. permission denied) — this is common on some desktop/Electron builds. Typing still works exactly the same.
Will AI ever change my data on its own?
No. Every scan, suggestion or draft is something you review and confirm yourself — a purchase draft you check before saving, a suggested category you can edit, a message you can rewrite — AI never writes to your sales, stock or customer records directly.
Does using Ollama really keep everything offline?
Yes, when Privacy Mode is set to Local Only and you are using Ollama as the provider — the model runs on your own machine and nothing about your shop is sent anywhere else.