Chatbot Sesión 14-Teoría 11 / Jul / 2020
Farfán Madariaga, Jaime MSc.
[email protected]
Introducción a Cognitive Computing
Índice
• Definición • Creación de un chatbot
Jaime Farfán
Introducción a Cognitive Computing
Objetivos • Definir los elementos de un Chatbot. • Crear un Chatbot
Jaime Farfán
Introducción a Cognitive Computing
1
Jaime Farfán
Introducción
Introducción a Cognitive Computing
Jaime Farfán
Introducción • • • • •
Intents Interacción entre usuario y agente Tiene elementos base: INPUTS y OUTPUTS INPUTS ingresados por el usuario OUTPUTS generados por el agente
• Las frases de entrada se les conoce como “Training Frases” • .
• Entities • Son los objetos sobre los cuales tomamos alguna acción
Introducción a Cognitive Computing
2
Jaime Farfán
Creación de un Chatbot
Introducción a Cognitive Computing
Chatbot en DialogFlow El chabot en demostración muestra la interacción de un chatbot con una persona en el caso de pedidos de CAFE
Jaime Farfán
Introducción a Cognitive Computing
1. Crear el proyecto en DialogFlow
Jaime Farfán
Introducción a Cognitive Computing
Intents por defecto
Jaime Farfán
Introducción a Cognitive Computing
Pruebas con el chatbot
Jaime Farfán
Introducción a Cognitive Computing
Intents de bienvenida por defecto
Jaime Farfán
Introducción a Cognitive Computing
Intents Fallidos por defecto
Jaime Farfán
Introducción a Cognitive Computing
2. Creamos la entidad
Jaime Farfán
Introducción a Cognitive Computing
Creación del Intent
Jaime Farfán
Introducción a Cognitive Computing
Creación del Intent
Jaime Farfán
Introducción a Cognitive Computing
Entidad pedido-café / Respuestas
Jaime Farfán
Introducción a Cognitive Computing
Intent pedido-café / Respuestas
Jaime Farfán
Introducción a Cognitive Computing
Intent pedido-café / Respuestas
Jaime Farfán
Introducción a Cognitive Computing
Entidad pedido-café / Respuestas
Jaime Farfán
Introducción a Cognitive Computing
Intent pedido-café / Respuestas
Jaime Farfán
Introducción a Cognitive Computing
3. Entidades compuestas Crear una entidad pedidoCafe - Compuesto por el número de bebidas y el tipo de café
Jaime Farfán
Introducción a Cognitive Computing
3. Entidades compuestas
Jaime Farfán
Introducción a Cognitive Computing
3. Entidades compuestas
Jaime Farfán
Introducción a Cognitive Computing
4. Contextos
Jaime Farfán
Introducción a Cognitive Computing
4. Contextos
Jaime Farfán
Introducción a Cognitive Computing
4. Contextos
Jaime Farfán
Introducción a Cognitive Computing
4. Contextos
Jaime Farfán
Introducción a Cognitive Computing
4. Contextos
Jaime Farfán
Introducción a Cognitive Computing
4. Contextos Ir al Intent pedido
Jaime Farfán
Introducción a Cognitive Computing
4. Contextos
Jaime Farfán
Introducción a Cognitive Computing
Conclusiones • En esta sesión se identificaron los elementos de un chatbot y se desarrolló un chatbot.
Jaime Farfán
Gracias Farfán Madariaga, Jaime MSc.
[email protected]