... | ... | @@ -15,10 +15,10 @@ What can you do with the API? |
|
|
-------------------------
|
|
|
If you are familiar with the plugin you know that there are two main functionalities
|
|
|
|
|
|
1. **Create local questions**
|
|
|
1. [**Create local questions**](local-questions)
|
|
|
Local questions are very simple questions. They work by matching words, counting how many matched and returning a response. The advantages are that they are fast, can have meta information (such as priority, required permission, ...) but are limited in pattern matching.
|
|
|
If you need to create a question that is simple without variable data, it is best to choose this.
|
|
|
2. **Create API.ai questions**
|
|
|
2. [**Create API.ai questions**](api.ai-questions)
|
|
|
These are fancy questions. They are send to an online machine learning framework owned by Google (says enough) and allow for better pattern matching, context related conversations and online training so the questions can be matched better in the future. The disadvantage of this is that it requires a request to be send what can take about 100ms.
|
|
|
It is recommended to prioritize the use of these types of questions.
|
|
|
3. **Get and set player data**
|
... | ... | |