Y ¿cómo llega el bot a tener todos estos conocimientos? ¡Entrenando!
Es importante saber cómo nuestro bot comprende para entender de qué manera puedo enseñarle. Como nos pasa a los humanos, ¿no?
...
And how does the bot come to have all this knowledge? Training!
It is important to know how our bot understands so I know how I can teach it. Just like it happens to us humans, right?
Info |
---|
The NLP language (or our bot) analyzes and identifies two types of entities. On the one hand the intents and on the other hand the keywords. |
Expand | ||
---|---|---|
| ||
¿Qué son las What are intents?Las Intents hablan del propósito que tiene el usuario. Generalmente asociado a una acción. Determinan lo que la persona trata de lograr.
Si comparamos estas expresiones no son idénticas, pero tienen algo en común: su intención. En el caso del ejemplo crearemos la intent "Sacar turno" y la alimentaremos con diferentes expresiones para enriquecerla, ya que lo que va a determinar que un bot entienda mucho/poco/nada, depende de la cantidad de formas diferentes de expresar lo mismo que el bot logre entender. |
Expand | ||
---|---|---|
| ||
¿Qué son los keywords?Las keywords son palabras que vamos a definir como esenciales o estratégicas. Queremos que el bot las identifique y cuando lo haga genere una acción concreta. Podemos responder algo en particular, redireccionar a alguna parte del flujo o incluso derivar a atención al cliente. También pueden utilizarse keywords en combinación con intents y así poder crear respuestas mucho más específicas.
En ese caso podríamos crear un grupo de keywords con los diferentes productos y así redireccionar a una instancia mucho más específica y mejorar la experiencia. |
Conclusión
Un buen ejercicio para comenzar a entender estos conceptos es imaginarnos a una persona entrando a un negocio.
Imaginemos que ingresa a un banco y grita "¡Dinero!". Quien deba atenderla no sabrá si la persona quiere retirar dinero, depositar dinero, hacer un pago o ¡robar el banco!
Es por esto que es muy importante hacer un buen análisis al momento de incluir información a nuestro bot y entender a través de qué tipo de entidad creemos que va a ser mejor que el bot comprenda el contenido.
...
Intents talk about the user's purpose. Usually associated with an action. They determine what the person is trying to achieve.
If we compare these expressions, they are not identical, but they have something in common: their intention. In the case of the example, we will create the intent "Take a turn" and we will feed it with different expressions to enrich it, since what will determine whether a bot understands a lot/little/nothing depends on the number of different ways of expressing the same thing as the bot can understand. |
Expand | ||
---|---|---|
| ||
What are keywords?Keywords are words that we are going to define as essential or strategic. We want the bot to identify them and when it does, generate a specific action. We can answer something in particular, redirect to some part of the flow, or even refer to customer service. Keywords can also be used in combination with intents to create much more specific responses.
In that case, we could create a group of keywords with the different products and thus redirect to a much more specific instance and improve the experience. |
Conclusion
A good exercise to start understanding these concepts is to imagine a person entering a business.
Let's imagine you walk into a bank and shout "Money!" Whoever should attend to it will not know if the person wants to withdraw money, deposit money, make a payment or rob the bank!
This is why it is very important to do a good analysis when including information in our bot and understand through what type of entity we think it will be best for the bot to understand the content. And don't forget to train! 🦾