RE: How to integrate bot with information sources |
In our Facebook integration, for post and message replies the users name is automatically set. So you can access the user's name the same way as in chat.
You can look at the WhatIs or WhereIs scripts in Self to see how to access these classes. https://www.botlibre.com/script?id=482056 https://www.botlibre.com/script?id=482112 You can also access these services using the request() function in Self on the sraix tag in AIML. Request/sraix also let use access Pannous, and the AIML 2 sraix web API that you can implement your own webservice to access any other service. For advanced integration, you can implement your own Sense class in our open source code base of Bot Libre. |
|
|
|
|