All work

A chat sales assistant that never makes up a price

For an online classifieds marketplace: the assistant talks to sellers about renewing their package and takes them all the way to payment.

Client
Online classifieds marketplace
Scope
Production-ready MVP
Role
AI engineer

What it does

It runs the sales conversation from the reminder about an expiring package to the payment link. It answers from the marketplace rules and the seller's account, and takes the price from the sales system.

The problem

  • Account managers wrote by hand to every seller whose package was about to expire.
  • A conversation means questions about rules, the account and the price, and every answer has to match the price list.
  • Reports of fraud attempts turn up in the middle of the same conversation.

From a message to a payment link

The model talks, the system guards the price.

Step types
  • Input
  • Language model
  • Gate that can stop the run
  • Output
  1. Input

    A chat message

    Through an API: the marketplace chat or any messenger.

  2. Gate that can stop the run

    Safety gate

    Attacks and disallowed content are dropped straight away.

  3. Language model

    What the seller wants

    A question about the rules, about the account, or a wish to buy.

  4. Language model

    An answer from the source

    From the official FAQ or from the account data.

  5. Gate that can stop the run

    Purchase confirmed

    A package from the offer, the price from the system, the link only after a yes.

  6. Output

    Payment link

    In the same conversation.

How it works in this project

The price always comes from the sales system

The model recognises what the seller wants to buy; the system fills in the price and the payment link.

Answers from the marketplace rules, not from memory

Every question about the rules is checked against the official FAQ, and the answer does not change under pressure.

Safety first, the offer second

When a conversation looks like a fraud attempt, it warns the seller and holds the sale.

These rules were worked out together with the client, to fit how they work. In your company they may look different, and I will fit the system to the way you work.

Built with

  • Amazon Bedrock
  • Bedrock Knowledge Bases
  • Bedrock Guardrails
  • S3 Vectors
  • AWS Lambda
  • API Gateway
  • EventBridge
  • DynamoDB
  • LangGraph
  • Terraform
  • Python