AI Conversation Starter
Configure Conversation Starter with this class.
AI Conversation Starter
is a class which fetches a list of opening messages generated using AI for starting a new conversation.
Integration
AI Conversation Starter will be enabled by default if it is enabled in the Dashboard. The UI & functionality of AI Conversation Starter can be customized via Configuration.
- Javascript
const conversationStarterConfiguration = new AIConversationStarterConfiguration({});
This configuration needs to be passed to AI Conversation Starter Class when it is passed to setAiFeatures()
method of UIKitSettingsBuilder
.
- Javascript
const aiFeatures = [new AIConversationStarterExtension(conversationStarterConfiguration)];
// Pass this list of features to setAiFeatures method.
new UIKitSettingsBuilder().setAiFeatures(aiFeatures);
Properties | Type | Description |
---|---|---|
configuration | AIConversationStarterConfiguration | This is a configuration to customise behaviour & UI of AI Conversation Starter. |