将从给定 Information/Documents 回答的聊天机器人
Chatbot that will answer from the given Information/Documents
我想制作一个聊天机器人,它可以根据给定的文档回答问题。
例如,如果我有数百个文档,我想从中获取一些信息,但不知道哪些信息在页面的哪一行,因此我必须花费一些时间和精力进行搜索。我想要一个聊天机器人,它可以从这些文档中学习并从该文档中给出答案。
有没有什么服务可以完全满足我的需求?
如果我想自己制作一个模型,我需要什么tools/libraries才能实现?
任何帮助将不胜感激。
您正在搜索的任务叫做问答。在这种特殊情况下,您有时称为 Answer Span Selection 或 Reading Comprehension.
这个问题通常是通过深度学习来解决的。斯坦福大学创建了一个名为 SQuAD 的数据集,其中包含 10 万个问题及其在维基百科文章中突出显示的答案。这是模型通常训练的内容。
你可以试试 online demo by Allen Institute for AI to get an idea of how the state-of-the-art looks like. I believe, it should be also able to run it locally with the AllenNLP toolkit.
如果您正在寻找服务,可以查看QnA Maker of Microsoft Bot Framework and here is an article如何创建服务。
正如他们在文档中提到的那样-
Some knowledge bots may simply aim to answer frequently asked questions (FAQs). QnA Maker is a powerful tool that's designed specifically for this use case. QnA Maker has the built-in ability to scrape questions and answers from an existing FAQ site, plus it also allows you to manually configure your own custom list of questions and answers. QnA Maker has natural language processing abilities, enabling it to even provide answers to questions that are worded slightly differently than expected. However, it does not have semantic language understanding abilities. It cannot determine that a puppy is a type of dog, for example.
作为一项服务,QnA maker 和机器人框架非常方便。唯一的限制是每月 10,000 次交易,免费订阅中每分钟 10 次。
查看 Microsoft 的自定义问答。它是 QNAMaker 的继任者。它有一个名为 Language studio 的门户,可以为您的机器人提供 manage/train 文件。
https://language.cognitive.azure.com/
您必须在 Azure 中创建文本分析(语言)服务并登录到 Language studio 以开始向其上传文件并进行部署,您的机器人将准备就绪。
我想制作一个聊天机器人,它可以根据给定的文档回答问题。 例如,如果我有数百个文档,我想从中获取一些信息,但不知道哪些信息在页面的哪一行,因此我必须花费一些时间和精力进行搜索。我想要一个聊天机器人,它可以从这些文档中学习并从该文档中给出答案。
有没有什么服务可以完全满足我的需求?
如果我想自己制作一个模型,我需要什么tools/libraries才能实现?
任何帮助将不胜感激。
您正在搜索的任务叫做问答。在这种特殊情况下,您有时称为 Answer Span Selection 或 Reading Comprehension.
这个问题通常是通过深度学习来解决的。斯坦福大学创建了一个名为 SQuAD 的数据集,其中包含 10 万个问题及其在维基百科文章中突出显示的答案。这是模型通常训练的内容。
你可以试试 online demo by Allen Institute for AI to get an idea of how the state-of-the-art looks like. I believe, it should be also able to run it locally with the AllenNLP toolkit.
如果您正在寻找服务,可以查看QnA Maker of Microsoft Bot Framework and here is an article如何创建服务。
正如他们在文档中提到的那样-
Some knowledge bots may simply aim to answer frequently asked questions (FAQs). QnA Maker is a powerful tool that's designed specifically for this use case. QnA Maker has the built-in ability to scrape questions and answers from an existing FAQ site, plus it also allows you to manually configure your own custom list of questions and answers. QnA Maker has natural language processing abilities, enabling it to even provide answers to questions that are worded slightly differently than expected. However, it does not have semantic language understanding abilities. It cannot determine that a puppy is a type of dog, for example.
作为一项服务,QnA maker 和机器人框架非常方便。唯一的限制是每月 10,000 次交易,免费订阅中每分钟 10 次。
查看 Microsoft 的自定义问答。它是 QNAMaker 的继任者。它有一个名为 Language studio 的门户,可以为您的机器人提供 manage/train 文件。 https://language.cognitive.azure.com/ 您必须在 Azure 中创建文本分析(语言)服务并登录到 Language studio 以开始向其上传文件并进行部署,您的机器人将准备就绪。