简体   繁体   English

如何制作仅用于搜索excel的聊天机器人

[英]How to make a chatbot only for searching the excel

I want to make the simplest chatbot for searching the information much easier.我想让最简单的聊天机器人更容易搜索信息。

For example, if I ask John's major, my chatbot will answer that it is Computer science.例如,如果我问约翰的专业,我的聊天机器人会回答它是计算机科学。 So simple.很简单。

But I found that if I want to make a chatbot which is answering based on database should through webhook thing, and It doesn't sound easy for me.但是我发现如果我想制作一个基于数据库回答的聊天机器人应该通过webhook事情,这对我来说听起来并不容易。 Is there any other (easy) way to make chatbot based on excel data or send a query... or whatever databases..有没有其他(简单的)方法可以根据 excel 数据制作聊天机器人或发送查询……或任何数据库……

I want to make this on dialogflow!我想在 dialogflow 上做这个!

+If i use chatscript, webhook is not necessary? +如果我使用chatscript,就不需要webhook?

You need a webhook to connect to your application which can do what you need.您需要一个 webhook 来连接到您的应用程序,它可以满足您的需求。 You have 2 options in DialogFlow: DialogFlow 中有 2 个选项:

  • Webhook URL: to invoke your custom application (here you have all the flexibility you need: access Excel, compute a response, etc..) Webhook URL:调用您的自定义应用程序(在这里您拥有所需的所有灵活性:访问 Excel、计算响应等。)
  • Inline Editor: create a Cloud Function on Google Firebase (I have no experience but I expect you can do almost anything you need - check pricing as it is a cloud service)内联编辑器:在 Google Firebase 上创建一个云函数(我没有经验,但我希望你几乎可以做任何你需要的事情 - 检查价格,因为它是一项云服务)

Setup #1 is not difficult, the harder part is to manage/access the XLS file programmatically.设置 #1 并不难,难的是以编程方式管理/访问 XLS 文件。

Best of luck, Beppe祝你好运,贝佩

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM