Skip to content

Integration with api.ai

unreg edited this page Nov 10, 2016 · 2 revisions

Import api.ai conversation:

from actorbot.bots import ApiAiConversation

Init bot with your api.ai client access token:

apiaibot = Bot(endpoint='ws://api-actor.domain.im:9090',
               token='56c83949445a92bf1d7ad8567166f12a4189f584',
               name='apiai',
               conversation=ApiAiConversation,
               params={'token': 'd2bdf09bbf5f4258bacce85db7a39622'})

Clone this wiki locally