This class is the base class for assistants.
|
| SBDAssistant () |
| Constructs an assistant.
|
|
virtual | ~SBDAssistant () |
| Destructs the assistant.
|
|
|
SBGAssistant * | getGUI () const |
| Returns a pointer to the GUI of the assistant.
|
|
void | setGUI (SBGAssistant *gui) |
| Sets the pointer to the GUI of the assistant.
|
|
|
const SBUUID & | getConversationUUID () const |
| Returns the conversation UUID.
|
|
void | setConversationUUID (const SBUUID &conversationUUID) |
| Sets the conversation UUID.
|
|
const SBUUID & | getUserUUID () const |
| Returns the user UUID.
|
|
void | setUserUUID (const SBUUID &userUUID) |
| Sets the user UUID.
|
|
|
virtual std::wstring | getTranscription (const std::wstring &fileName, std::wstring &language) |
| Returns a transcription for an audio file with file name fileName and the detected language .
|
|
|
virtual std::wstring | getTranslation (const std::wstring &text, const std::wstring &language) |
| Returns the translation of text in language into English.
|
|
|
virtual SBDAssistantAnswer * | getAnswer (const std::wstring &question, const std::wstring &translation) |
| Returns an answer to a question.
|
|
virtual SBDAssistantAnswer * | getCompletion (const std::wstring &question, const std::wstring &translation, const std::wstring &system, const std::wstring &queryType) |
| Returns a completion to a single question.
|
|
virtual SBDAssistantAnswer * | getNSLExpression (const std::wstring &question, const std::wstring &translation) |
| Returns an NSL expression.
|
|
|
virtual SBDAssistantAnswer * | act (const std::wstring &question, const std::wstring &translation) |
| Executes an action.
|
|
virtual SBDAssistantAnswer * | memorize (const std::wstring &fileName) |
| Memorizes a document.
|
|
virtual SBDAssistantAnswer * | memorize (const std::wstring &url, const std::wstring &include=L"", const std::wstring &exclude=L"") |
| Memorizes a webpage.
|
|
virtual SBDAssistantAnswer * | search (const std::wstring &question, const std::wstring &translation) |
| Performs a search.
|
|
virtual SBDAssistantAnswer * | select (const std::wstring &question, const std::wstring &translation) |
| Selects nodes in the document.
|
|
| SB_DECLARE_DATA (SBDAssistant) |
|
|
unsigned int | getMemoryFootprint () const |
|
void | printReferencesToOwners () const |
|
| SBCReferenceTarget () |
|
virtual | ~SBCReferenceTarget () |
|
void | removeAllReferenceOwners () |
|
| SBCReferenceTarget (SBCReferenceTargetData *dataPointer) |
|
SBCReferenceTargetData * | dataPointer |
|