Vercel

Chat SDK Adds Cross-Platform Conversation History and User Identity Features


Executive Summary

The Chat SDK has been updated to support persistent, cross-platform conversation history through new transcript and identity options. This allows developers to link a user's message history across different chat platforms using a consistent identifier, such as an email address. The new functionality includes configurable data retention policies and a programmatic API for managing conversation transcripts.

Key Takeaways

* Product: Chat SDK

* Core Feature: Cross-platform conversation history, allowing user transcripts to persist across multiple messaging platforms.

* User Identification: A new `identity` option enables developers to link user profiles across platforms (e.g., using `author.email`).

* Transcript Configuration: Developers can customize message history with options for `retention` periods (e.g., "30d") and `maxPerUser` message counts.

* Transcript API: The `bot.transcripts` object exposes four methods for managing conversation history: `append`, `list`, `count`, and `delete`.

* Availability: The feature is available now.

Strategic Importance

This update enables developers to create more seamless and stateful user experiences, significantly improving chatbot continuity as users move between different communication channels.

Original article