| Client | A client is a company or a legal entity using Kwizmo to solve their business needs. |
| User | A user is a person using Kwizmo to get the answer they need. |
| Context | A context is the business area for which the company is using Kwizmo to help their users or employees. |
| Kwizmo portal |
Kwizmo portal is a webpage kwizmo.eu which provides usage statistics for the clients and also learning interface. |
At the moment Kwizmo can be used to provide answers to questions related to information from the documents or web pages. The questions can be complex requiring information from different documents or simple for which only one documents can provide the answer. Questions must be in written form.
The knowledge base used to train Kwizmo context must be provided by the client in the form of webpages or PDF, Word or Powerpoint documents. The client also decides if the answers are sellable or not (functionality number 1). If they are sellable, the client must specify:
Each credit costs between 3.6 and 4 EURo cents (depending on the number of credits the user buys at once). The answers are sellable only through Kwizmo portal. All credits spent on any context is divided between Kwizmo and the client.
For any new client to start using Kwizmo bot they need to contact Kwizmo team on info@kwizmo.eu. The team guides the client through the process of onboarding to Kwizmo and through the bot training phase for every context the client decides to use Kwizmo for. A special link to be used in the webpage is prepared for every context. To properly configure the bot the client must send the following information for every context:
<?php
echo file_get_contents('https://www.kwizmo.eu/plugin/kwizmo.php?question_source=${key}');
?>
(key is provided by Kwizmo team) or use CURL alternative or java alternative like:
public String getRemoteContents(String url) throws Exception {
URL urlObject = new URL(url);
URLConnection conn = urlObject.openConnection();
BufferedReader in = new BufferedReader(new InputStreamReader(conn.getInputStream()));
String inputLine, output = "";
while ((inputLine = in.readLine()) != null) {
output += inputLine;
}
in.close();
return output;
}
and then call this function on the web page the bot needs to appear.
The bot must be added using above approaches before body closing tag (exactly before </body>).
Kwizmo bot URL supports the GET parameter get_sources which instructs the bot to return the sources used to create the answer. By defualt sources are not returned. Sources are never returned to the webpage with kwizmo_callback function.
Kwizmo bot URL supports the GET parameter hide_icon which instructs the bot to hide itself completelly. By default the bot's icon is visible. Hiding the bot is usefull in cases where the webpage does not want to show that there is an AI bot behind its processing and only sends the question to bot and processes the answer with the callback function described above.
Kwizmo bot URL supports the GET parameter TTS which instructs the bot to read the answer. The answer is read in the language detected or passed with the tts_language parameter. If the language of the text is passed, than language detection is not used. Language should be written as two character string (e.g. en for English, sl for Slovenian, ...). If the function kwizmo_callbackAudioLink is defined, it receives the URL to mp3 which should be played and the calling app is responsible for playing it.
Kwizmo bot URL supports the GET parameter show_print which instructs the bot to show or not show the print answer button. If the value is 1, the button is shown. Otherwise it is not shown.