如何将任何API集成到我的聊天机器人 [英] how to integrate any API to my chat bot

查看:80
本文介绍了如何将任何API集成到我的聊天机器人的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在创建一个集成的聊天机器人,其中包括股票查询,运行状况,计划和fb通知,因此我想将所有API集成到我的LUIS机器人中,以帮助我进行API的集成

i am creating a integrated chat bot which include stock query,health,schedule and fb notification so i want to integrate all API to my LUIS bot help me make the integration of API

推荐答案

这是您可以做的

This is what you can do 

1)为每种功能创建对话框

1) Create dialogs for each functionality

2)创建使用目标api的帮助器类

2) Create helper classes which consume target api

3)根据检测到的意图,启动必要的对话框

3) Based upon the intents detected, start the necessary dialogs


这篇关于如何将任何API集成到我的聊天机器人的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆