#300 — Include Commerce Customers and Payments’ Canonical Customers as an entity that gets parsed in LLM prompts.

Repo: Twill-AI/twill-llm-engine State: open | Status: open Assignee: meliascosta

Created: 2025-06-02 · Updated: 2025-06-02

Description

During preprocessing a prompt is scanned for potential entities using fuzzy matching. These entities are:

  • Vendors
  • Customers (accounting)
  • Accounts

We need to update this to include both Commerce Customers and Canonical Customers. (See https://github.com/Twill-AI/twill-llm-engine/blob/2ad35ee59bafb907d2d179f208193627e3206086/twill_llm_engine/utils/database.py#L243)

AC:

  • All types of customers are recognized in prompt preprocessing.

Notes

Add implementation notes, blockers, and context here

Add wikilinks to related people, meetings, or other tickets