qisdk / com.aldebaran.qi.sdk.object.conversation / Conversation / makeQiChatbot

makeQiChatbot

abstract fun makeQiChatbot(context: RobotContext!, topics: MutableList<Topic!>!): QiChatbot!

Create a Qichatbot in the current language.

Parameters

context - RobotContext!: The context of the application

topics - MutableList<Topic!>!: The list of topics to use within the QiChatbot

Exceptions

RuntimeException - One or more of the Topics contain one or more user defined functions that have not been defined.

Return
QiChatbot!: A QiChatbot.

Since
3

abstract fun makeQiChatbot(context: RobotContext!, topics: MutableList<Topic!>!, locale: Locale!): QiChatbot!

Create a Qichatbot in the given language.

Parameters

context - RobotContext!: The context of the application

topics - MutableList<Topic!>!: The list of topics to use within the QiChatbot

locale - Locale!: The language of the conversation.

Exceptions

RuntimeException - The given locale is not available on the robot

Return
QiChatbot!: A QiChatbot.

Since
3