Customer Memory is a feature that allows an AI Assistant to become customer-aware. By integrating with Twilio Segment, the Assistant can access and store relevant customer data, enabling it to personalize interactions based on previous engagements and customer profiles. Two key engines power this capability:
In the Twilio Console, navigate to the Segment Workspace section of AI Assistants Settings.
spa_
) to the Segment Workspace Space ID field in AI Assistants Settings.Once you've configured your Segment settings, you can enable the AI Personalization Engine and AI Perception Engine for each Assistant you create in your Assistant's base configuration, (Assistant -> Settings).
When your Assistant uses either customer engine, it passes the identity associated with that session to Segment. If you're using the API, the identity
parameter of the POST
request defines the identity. In the Simulator, you define the identity from the UI.
The user identity must match the form: type:value
, and the type
field must correlate with an identifier on the profile within Segment. Learn more about identity resolution in the Segment Unify documentation.
For example:
1"email:example@example.com"2// or3"phone:15554455"
You can debug responses from each engine in the Simulator to understand what data your Assistant is receiving from or sending to Segment.
You can manage your Segment profile data using the Segment Profile API.