Sean Foster
Email me

06 · Retail tech

AI answers from the field guides

Service staff dug through shared drives for install and troubleshooting guides. I built an assistant inside the CRM that answers from the managed guides and articles, with citations and the right page images, scoped to one customer when it matters.

Client
Installs and services checkout tech for national retailers and restaurant chains
Built with
  • Salesforce
  • Apex
  • Lightning Web Components
  • Python
  • Azure
  • OpenAI

Screens

Rendered from the real code with made-up data.

The chat panel answers a technician's receipt printer question with numbered steps and the guide pages and article it used.

The chat panel answers a technician's receipt printer question with numbered steps and the guide pages and article it used.

What it changed

  1. 01

    Answers come back in a strict structure, and any citation or image the model invents that was not retrieved is rejected.

  2. 02

    Tag a guide once on a parent account and it reaches all 3,900+ of that customer's stores, and no one else's.

  3. 03

    History is partitioned by user, so one person's conversations can never be read by another.

How it fits together

  • Built by me
  • Platform or outside system
  • People
Service staffInside the CRMChat panelLightning web componentOrchestratorApex: scope, validateLanguage modelStrict, cited answersRetrieval APIPython on AzureAzure storageGuides, chunks, imagesCRM knowledgeArticlesQuestionQuestion +scopeSearch by customerChunks,imagesContext in,answer outEvery 15 minService staffInside the CRMChat panelLightning webcomponentOrchestratorApex: scope,validateLanguage modelStrict, citedanswersRetrieval APIPython on AzureAzure storageGuides, chunks,imagesCRM knowledgeArticlesQuestionQuestion + scopeChunks, imagesContext in, answeroutEvery 15 min

More of my work

See all

Contact

Need something like this built?

I take on full-time roles and focused projects. Email is the fastest way to reach me.