add query for suggested actions
This commit is contained in:
@@ -73,7 +73,7 @@ namespace obelisk
|
||||
* @param[in] rightEntity The right entity.
|
||||
* @return std::string Returns the suggested action.
|
||||
*/
|
||||
std::string query_action(const std::string& leftEntity,
|
||||
std::string queryAction(const std::string& leftEntity,
|
||||
const std::string& verb,
|
||||
const std::string& rightEntity);
|
||||
};
|
||||
|
@@ -50,6 +50,21 @@ extern "C"
|
||||
const char* verb,
|
||||
const char* right_entity);
|
||||
|
||||
/**
|
||||
* @brief Query the obelisk KnowledgeBase to get a suggested Action to do.
|
||||
*
|
||||
* @param[in] obelisk The obelisk object.
|
||||
* @param[in] left_entity The left entity.
|
||||
* @param[in] verb The verb.
|
||||
* @param[in] right_entity The right entity.
|
||||
* @return char* Returns the Action to do or an empty string if there is no
|
||||
* action.
|
||||
*/
|
||||
extern char* obelisk_query_action(CObelisk* obelisk,
|
||||
const char* left_entity,
|
||||
const char* verb,
|
||||
const char* right_entity);
|
||||
|
||||
/**
|
||||
* @brief Get the obelisk library so version.
|
||||
*
|
||||
|
Reference in New Issue
Block a user