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

Repo: · Issue: #300 Status: Open · Priority: P2 Assignee: Martin

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.

Implementation Notes

Dash adds notes here while working

Link to people, meetings, dependent tickets