Set chat metadata

Any chat metadata you set will be visible in the Unless dashboard when reviewing a conversation. Chat metadata can also be directly used by (API) actions. The metadata can already be set before opening the AI component.

Note: the chatMetdata is only supporting strings at the moment (Record<string, string>).

Txt.set('chatMetadata', { name: 'Marcel Panse', email: '[email protected]' })