#include <yarp/dev/IChatBot.h>
Inheritance diagram for yarp::dev::IChatBot:Public Member Functions | |
| virtual | ~IChatBot () |
| Destructor. | |
| virtual yarp::dev::ReturnValue | interact (const std::string &messageIn, std::string &messageOut)=0 |
| Sends a message to the chatbot. | |
| virtual yarp::dev::ReturnValue | setLanguage (const std::string &language="auto")=0 |
| Sets the chat bot language. | |
| virtual yarp::dev::ReturnValue | getLanguage (std::string &language)=0 |
| Gets the current chatbot language. | |
| virtual yarp::dev::ReturnValue | getStatus (std::string &status)=0 |
| Gets the current status of the bot. | |
| virtual yarp::dev::ReturnValue | resetBot ()=0 |
| Resets the chatbot. | |
IChatBot interface.
Provides methods to interact with chatbots.
Definition at line 25 of file IChatBot.h.
|
virtualdefault |
Destructor.
|
pure virtual |
Gets the current chatbot language.
| language | the returned string (code) representing the speech language (e.g. ita, eng...). Default value is "auto". |
Implemented in GoogleDialogFlowCxChatBot, FakeChatBotDevice, and ChatBot_nwc_yarp.
|
pure virtual |
Gets the current status of the bot.
| status | the current bot status |
Implemented in GoogleDialogFlowCxChatBot, FakeChatBotDevice, and ChatBot_nwc_yarp.
|
pure virtual |
Sends a message to the chatbot.
| messageIn | the text of the input message |
| messageOut | the output message |
Implemented in GoogleDialogFlowCxChatBot, FakeChatBotDevice, and ChatBot_nwc_yarp.
|
pure virtual |
Resets the chatbot.
Implemented in GoogleDialogFlowCxChatBot, FakeChatBotDevice, and ChatBot_nwc_yarp.
|
pure virtual |
Sets the chat bot language.
| language | a string (code) representing the speech language (e.g. ita, eng...). Default value is "auto". |
Implemented in GoogleDialogFlowCxChatBot, FakeChatBotDevice, and ChatBot_nwc_yarp.