Vercel — AI · · 1 min read

Chat SDK now supports conversation history

Mirrored from Vercel — AI for archival readability. Support the source by reading on the original site.

Chat SDK now supports cross-platform conversation history through the new transcripts and identity options. User transcripts persist across every platform adapter, allowing the same user to keep their message history wherever they message your bot.

bot.transcripts exposes four methods, backed by your existing state adapter:

  • append: persist an inbound message or a bot reply

  • list: return entries chronologically with filters

  • count: total entries stored for a user

  • delete: wipe every entry for a user

Read the Chat SDK documentation to get started, or try one of the templates.

Read more

Discussion (0)

Sign in to join the discussion. Free account, 30 seconds — email code or GitHub.

Sign in →

No comments yet. Sign in and be the first to say something.

More from Vercel — AI