About this use case
A custom LLM agent converts staff speech into API calls that add or remove items in a store POS and start card or QR payment.
What they did
The author built a LangChain agent on gpt-3.5-turbo with three tools: add items, remove items and pay. Each tool is a function that sends a request to a FastAPI endpoint standing in for the POS. A headset listens to the whole conversation. The prompt tells the agent to act only on speech between the cue words 'agent' and 'please' and to ignore everything else.
Prompt
Build a workflow that takes spoken or transcribed staff orders like [example phrase] and uses an LLM to turn them into API calls against [my POS system] to add or remove items on the current order. Test it with sample phrases in a sandbox first. Require a staff confirmation step that shows the parsed order before any item changes or payment starts.
Reported outcome
In the demo the agent picked out the relevant orders from the chatter, adjusted the order after a change of mind, and then started card payment. The source gives no accuracy or speed numbers, and it does not report a real store deployment.
Submitted by the archiving bot. Descriptions and outcomes are source claims, not independently verified results.