基于生成的闲聊机器人的应用_基于生成的聊天机器人

本文关注基于生成的闲聊机器人的应用,探讨如何利用此类机器人进行智能对话交互,涉及Python和Java等编程语言以及人工智能技术。
摘要由CSDN通过智能技术生成

基于生成的闲聊机器人的应用

A short introduction to Chatbots:

Chatbots简短介绍:

Conversational agents or dialogue systems, popularly known as chatbots are widely gaining popularity and importance across various business domains and customer service portals. The primary motivation behind building a chatbot is to answer the basic queries, requests and questions asked by the consumer so that the management and employees can focus on the more important stuffs. Nowadays, with the increasing research and development in the fields of Natural Language Processing (NLP) and Deep Learning, chatbots are gaining the potential to solve just more than the elementary problems 0it was designed to solve in the first place. Let us look at a few examples of where chatbots are used in real life:-

对话代理或对话系统(通常称为聊天机器人)在各种业务领域和客户服务门户中日益普及和重要。 建立聊天机器人的主要动机是回答消费者的基本查询,要求和问题,以便管理层和员工可以专注于更重要的内容。 如今,随着自然语言处理(NLP)和深度学习领域的研究与开发不断发展,聊天机器人获得的潜力不仅仅是解决0it最初设计要解决的基本问题。 让我们看看在现实生活中使用聊天机器人的一些示例:

  • Ordering food delivery platforms like Zomato, Swiggy, etc. where the customer can convey their complaints and grievances, and the chatbots can take care of it in the elementary step

    订购诸如Zomato,Swiggy等的送餐平台,客户可以在该平台上传达他们的投诉和不满,而聊天机器人则可以在基本步骤中进行处理
  • Customer care portal for mobile connections and communications like Jio, Vodafone etc.

    客户服务门户,用于Jio,Vodafone等移动连接和通信。
  • Websites having chatbots to resolve primary queries posed by a visitor

    具有聊天机器人来解决访客提出的主要查询的网站

And so on….

等等…。

Chatbots generally try to process the following to respond to the questions asked:

聊天机器人通常尝试处理以下内容来回答所提出的问题:

  1. Purpose of the user (What is the user inquisitive about?)

    用户的目的(用户有什么疑问?)
  2. Did the user say anything generic or specific?

    用户说的是一般性还是特定性?
  3. What questions can be asked to understand the user requirement more?

    可以问什么问题以进一步了解用户需求?
  4. What can be the most relevant reply to the question asked by the user?

    与用户提出的问题最相关的答复是什么?

The efficiency of the reply or answer given by the chatbot to the user will strongly depend on how accurately the chatbot finds answers to the above listed questions.

聊天机器人向用户提供的答复或答案的效率将在很大程度上取决于聊天机器人找到上述问题的答案的准确性。

Now, we will explore the two types of chatbots used:

现在,我们将探讨使用的两种聊天机器人:

  1. Generative based chatbots: It generates new response using various machine learning and deep learning techniques on a lot of historic data and previous conversations. Although the process does not rely on pre-defined responses, the responses given might be irrelevant or grammatically incorrect in many cases.

    基于生成的聊天机器人它使用各种机器学习和深度学习技术对大量历史数据和以前的对话产生新的响应。 尽管该过程不依赖于预定义的响应,但是在许多情况下,给出的响应可能无关紧要或语法上不正确。

  2. Retrieval based chatbots: In this case, there is a collection of pre-defined responses and using some technique (ranging from simple like rule based pattern to very complex like ensemble learning), it chooses the best response for a given question. It does not generate any new response.

    基于检索的聊天机器人:在这种情况下,有一组预定义的响应并使用某种技术(从简单的基于规则的模式到非常复杂的集成学习),它为给定问题选择最佳响应。 它不会产生任何新的响应。

It is important to understand the open and closed domain concept here in relation to the chatbot.

重要的是要了解与聊天机器人相关的开放域和封闭域概念。

  • Open domain (Generalist bots): This is basically an open conversation where the user can take the content or topic of conversation anywhere. This is completely at the discretion of the user. The space if possible inputs and outputs are ideally infinite or unlimited in this case. For example: Broadly financial management, ways of reducing the income tax.

    开放域(通用漫游器):这基本上是一个开放对话,用户可以在任何地方获取对话的内容或话题。 这完全由用户决定。 在这种情况下,如果可能,输入和输出的空间最好是无限的或无限制的。 例如:广泛的财务管理,减少所得税的方法。

  • Closed domain (Specialist bots): Here, the scope or space of possible inputs and outputs are somewhat limited. The system is mostly made to achieve a very specific goal or set or goals. For example: Food ordering service from a specified menu in a restaurant, where the number of options can be very large, but finite.

    封闭域(专家机器人):此处,可能的输入和输出的范围或空间受到一定限制。 该系统主要用于实现非常具体的目标或目标。 例如:餐馆中指定菜单上的食品订购服务,那里的选项数量可能非常大,但很有限。

Image for post

In this article, we will focus on building a simple generative based chatbot using Python and tensor flow.

在本文中,我们将重点介绍使用Python和张量流构建基于生成的简单聊天机器人<

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值