Skip to main content
Version: v4

AI Smart Replies

AI Smart Replies is a class which fetches a list of replies generated using AI for replying to a message in a conversation.

Integration

AI Smart Replies will be enabled by default if it is enabled in the Dashboard. The UI & functionality of AI Smart Replies can be customized via Configuration.

const smartRepliesConfiguration = new AISmartRepliesConfiguration({});

This configuration needs to be passed to AI Smart Replies Class when it is passed to setAiFeatures() method of UIKitSettingsBuilder.

const aiFeatures = [new AISmartRepliesExtension(smartRepliesConfiguration)];

// Pass this list of features to setAiFeatures method.
new UIKitSettingsBuilder().setAiFeatures(aiFeatures);
PropertiesTypeDescription
configurationAISmartRepliesConfigurationThis is a configuration to customise behaviour & UI of AI Smart Replies.