...
Seguro más de una vez habrás escuchado hablar de Inteligencia artificial o AI, pero... ¿sabes qué es y para qué sirve?
Si la respuesta es no, ¡no te preocupes!
Con esta guía vas a poder entender los conceptos generales sobre AI y para qué la usamos a la hora de desarrollar un bot.
¿Qué es la AI?
En pocas palabras, la inteligencia artificial (AI) es la simulación de procesos de inteligencia típicamente
humanos, por parte de máquinas o sistemas informáticos.
Me imagino que te debes estar preguntando algo como: ¿Y para qué usa AI mi bot?
En el caso de nuestros bots, la AI es lo que le da la capacidad de aprender y "razonar" para dar respuestas acordes a lo consultado por el usuarioSurely you have heard more than once about Artificial Intelligence or AI, but... do you know what it is and what it is for?
If the answer is no, don't worry!
With this guide you will be able to understand the general concepts about AI and why we use it when developing a bot.
What is AI?
In short, artificial intelligence (AI) is the simulation of typically human intelligence processes, by machines or computer systems.
You must be wondering something like: And what does my bot use AI for?
In the case of our bots, AI is what gives them the ability to learn and "reason" to provide answers according to what the user has asked.
NLP (Natural language processing)
Esta capacidad que el bot tiene de “conversar” como un humano, es gracias al lenguaje This ability that the bot has to “converse” like a human is thanks to the NLP (Natural language processing) que es una técnica que permite a los sistemas informáticos “comprender” las comunicaciones humanas. Es decir, posibilita la interacción entre usuario y bot.
Info |
---|
La respuesta a tu pregunta es que el bot usa la Inteligencia Artificial y este lenguaje NLP para procesar lo que le dicen los usuarios y usuarias del bot y así poder entablar una "conversación". |
Entrenamiento 🦾
...
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?
El lenguaje NLP (o nuestro bot) analiza e identifica dos tipos de entidades. Por un lado las intents o intenciones y por el otro lado las keywords o palabras claveslanguage, which is a technique that allows computer systems to “understand” human communications. That is, it enables interaction between the user and the bot.
Info |
---|
The answer to your question is that the bot uses Artificial Intelligence and this NLP language to process what the bot's users tell it and thus be able to start a "conversation." |
Training 🦾
...
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?
The NLP language (or our bot) analyzes and identifies two types of entities. On the one hand the intents or intentions and on the other hand the keywords or keywords.
Panel | ||
---|---|---|
| ||
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.
Imaginemos la recepción de un centro médico.
Se acercan tres personas diferentes que dicen: "Quiero sacar un turno con la doctora Lunza, "Me gustaría solicitar una cita para el martes" y "¿Tienen turnos disponibles?
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 entenderIntents talk about the user's purpose. Usually associated with an action. They determine what the person is trying to achieve.
Let's imagine the reception of a medical center.
Three different people approach and say: "I want to make an appointment with Dr. Lunza," "I would like to make an appointment for Tuesday," and "Do you have appointments available?"
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.
Panel | ||
---|---|---|
| ||
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.
Imaginemos que ya creamos la intent "Quiero comprar" y la misma redirecciona al flujo de compra.
¡Genial! Ahora, el usuario también podría decirnos: "Quisiera comprar chocolate" o "Me gustaría conseguir helado".
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. ¡Y no te olvides de entrenarKeywords 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.
Let's imagine that we have already created the intent "I want to buy" and it redirects to the purchase flow.
Brilliant! Now, the user could also tell us: "I would like to buy chocolate" or "I would like to get ice cream."
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! 🦾