Represents a conversant in a conversation with identification and persistent state
const conversant = new Conversant({ identification: { speakerUri: 'tag:example.com,2025:user1', serviceUrl: 'https://example.com/user-proxy', conversationalName: 'User' }, persistentState: { preferences: { language: 'en-US' } }}); Copy
const conversant = new Conversant({ identification: { speakerUri: 'tag:example.com,2025:user1', serviceUrl: 'https://example.com/user-proxy', conversationalName: 'User' }, persistentState: { preferences: { language: 'en-US' } }});
Creates a new Conversant instance
Conversant configuration options
Error if identification is missing
Readonly
Convert to JSON string
Convert to plain object
Static
Represents a conversant in a conversation with identification and persistent state
Example