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

Conversation

interface Conversation

Service exposing actions and properties related to human-robot conversation.

Since
1

Types

Async

interface Async

Functions

async

abstract fun async(): Async!

makeChat

Create a Chat in the current language

abstract fun makeChat(context: RobotContext!, chatbots: MutableList<Chatbot!>!): Chat!
abstract fun makeChat(context: RobotContext!, chatbots: MutableList<Chatbot!>!, speechEngine: SpeechEngine!): Chat!

Create a Chat in the given language

abstract fun makeChat(context: RobotContext!, chatbots: MutableList<Chatbot!>!, locale: Locale!): Chat!
abstract fun makeChat(context: RobotContext!, chatbots: MutableList<Chatbot!>!, speechEngine: SpeechEngine!, locale: Locale!): Chat!

Create a Chat in the current language, using the specified options.

abstract fun makeChat(context: RobotContext!, chatbots: MutableList<Chatbot!>!, chatOptions: ChatOptions!): Chat!

makeDiscuss

Create a Discussion in the current language.

abstract fun makeDiscuss(context: RobotContext!, topics: MutableList<Topic!>!): Discuss!

Create a Discussion in the given language.

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

makeListen

Create a listen action.

abstract fun makeListen(context: RobotContext!, phraseSets: MutableList<PhraseSet!>!): Listen!
abstract fun makeListen(context: RobotContext!, phraseSets: MutableList<PhraseSet!>!, bodyLanguageOption: BodyLanguageOption!): Listen!
abstract fun makeListen(context: RobotContext!, phraseSets: MutableList<PhraseSet!>!, bodyLanguageOption: BodyLanguageOption!, locale: Locale!): Listen!

Create a listen action, using the specified Options.

abstract fun makeListen(context: RobotContext!, phraseSets: MutableList<PhraseSet!>!, listenOptions: ListenOptions!): Listen!

makePhraseSet

Create a phrase set from a set of phrases.

abstract fun makePhraseSet(phrases: MutableList<Phrase!>!): PhraseSet!

makeQiChatbot

Create a Qichatbot in the current language.

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

Create a Qichatbot in the given language.

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

makeSay

Create a say action.

abstract fun makeSay(context: RobotContext!, phrase: Phrase!): Say!
abstract fun makeSay(context: RobotContext!, phrase: Phrase!, bodyLanguageOption: BodyLanguageOption!): Say!
abstract fun makeSay(context: RobotContext!, phrase: Phrase!, bodyLanguageOption: BodyLanguageOption!, locale: Locale!): Say!

makeSpeechEngine

Creates a SpeechEngine, that will create Say actions using the Conversation service with the given context

abstract fun makeSpeechEngine(context: RobotContext!): SpeechEngine!

makeTopic

Create a new Topic object.

abstract fun makeTopic(topicContent: String!): Topic!

status

Access Conversation related signals and properties for the given context via a ConversationStatus object

abstract fun status(context: RobotContext!): ConversationStatus!