SlideShare a Scribd company logo
1 of 16
Copyright © 2019 HCL Technologies Limited | www.hcltech.com
OPEN CONVERSATIONAL AI FRAMEWORK FOR BUILDING CONTEXTUAL CHATBOTS AND
AI ASSISTANTS.
BY - PRASANNA VENKATESH JAYAPRAKASH (PRASANNAVJ@HCL.COM)
2 Copyright © 2019 HCL Technologies Limited | www.hcltech.com
AGENDA
Conversational AI Framework for building contextual chatbots and AI assistants.
 Understanding Chatbot Architecture
 Introduction to Current Chatbot Platforms and Industry Problem
 Introduction to RASA Framework
 introduction to RASA Chatbot Architecture
 Natural Language understanding - Components
 CORE Components and Structure.
 Core - Stories and Dialog management
 Integrating with External API
 Demonstration using Restaurant Details capture details.
 Demonstration integrating with Slack Messaging Platform.
3 Copyright © 2019 HCL Technologies Limited | www.hcltech.com
CHATBOT ARCHITECTURE
4 Copyright © 2019 HCL Technologies Limited | www.hcltech.com
INTRODUCTION TO CURRENT CHATBOT PLATFORMS AND INDUSTRY PROBLEM
 Google dialogFlow
 IBM
 Microsoft
 Amazon
 Facebook
 Industry problem:
 To Implement the solution no inhouse platform.
 All depend on cloud based learning solution – when enterprise plan to integrate might face problem due to the security and privacy concern of the
providers.
 Old rule based providers are phasing out
 Solution:
 Open Source conversational platform enable building and managing the complete chatbot inhouse – one such platform is RASA.
5 Copyright © 2019 HCL Technologies Limited | www.hcltech.com
INTRODUCTION TO RASA FRAMEWORK
 Utilizes customizable ML and NLP solution to enable developers to control how and what they wanted to achieve part of the conversation.
 Provide option to integrate with external API services, External databases etc.
 Provide option to integrate with various prominent chatting/Messaging solution i.e: - Slack, faceBook messenger etc.
 Provide both Open Source (RASA Stack) and Commercial Offering (RASA Platform)
6 Copyright © 2019 HCL Technologies Limited | www.hcltech.com
INTRODUCTION TO RASA CHATBOT ARCHITECTURE
7 Copyright © 2019 HCL Technologies Limited | www.hcltech.com
NATURAL LANGUAGE UNDERSTANDING - COMPONENTS
Creating using
 Entity
 Intents
 Using RASA NLU Trainer
8 Copyright © 2019 HCL Technologies Limited | www.hcltech.com
RASA CORE COMPONENTS AND STRUCTURE - DIALOG MANAGEMENT
 Entity
 Intents
 Slots
 Templates
 Actions
 Buttons
9 Copyright © 2019 HCL Technologies Limited | www.hcltech.com
ENTITY
- Entity allows us to
define the list of items that
Need to be recognized by
Chatbot while conversing
10 Copyright © 2019 HCL Technologies Limited | www.hcltech.com
INTENTS
- Intent of the person
Interacting with the chatbot
11 Copyright © 2019 HCL Technologies Limited | www.hcltech.com
SLOTS
- Recognized by chatbot and
filled by the bot for further
processing.
12 Copyright © 2019 HCL Technologies Limited | www.hcltech.com
ACTIONS
- Action to be carried out by
Chatbot on specific input
- Searching for restaurant
- Connecting with back end
Db etc.
13 Copyright © 2019 HCL Technologies Limited | www.hcltech.com
TEMPLATES
- Possible options for display
To the used based on the
Specific intent
14 Copyright © 2019 HCL Technologies Limited | www.hcltech.com
DIALOG MANAGEMENT MODULE - STORIES
 Stories
- Potential option for
conversation flow is detailed
In the conversation.
15 Copyright © 2019 HCL Technologies Limited | www.hcltech.com
CONVERSATION EXAMPLE - DEMO
 Demo of solution:
 Video Link: https://www.youtube.com/watch?v=qi0o3jwMjvo&t=26s
 Live demo will be conducted during the presentation session.
 Starting from setting up the NLU
 Setting up core
 Integrating with Zomato API
 Integrating with SLACK
16 Copyright © 2019 HCL Technologies Limited | www.hcltech.com
THANK YOU
PRASANNA VENKATESH JAYAPRAKASH
PRASANNAVJ@HCL.COM
LINKEDIN – HTTPS://WWW.LINKEDIN.COM/IN/PRASANNA-VENKATESH-JAYAPRAKASH-454133A/
TWITTER - @PRASANNA_VRI

More Related Content

Similar to Open conversational ai framework for building contextual chatbots and ai assistants

Tech talk
Tech talkTech talk
Tech talk
APR
 
Conf42-LLM_Adding Generative AI to Real-Time Streaming Pipelines
Conf42-LLM_Adding Generative AI to Real-Time Streaming PipelinesConf42-LLM_Adding Generative AI to Real-Time Streaming Pipelines
Conf42-LLM_Adding Generative AI to Real-Time Streaming Pipelines
Timothy Spann
 

Similar to Open conversational ai framework for building contextual chatbots and ai assistants (20)

Technical trainings
Technical trainingsTechnical trainings
Technical trainings
 
HCL Sametime Update (deutsch)
HCL Sametime Update (deutsch)HCL Sametime Update (deutsch)
HCL Sametime Update (deutsch)
 
Hybrid Integration & MFT Innovation
Hybrid Integration & MFT InnovationHybrid Integration & MFT Innovation
Hybrid Integration & MFT Innovation
 
Intro to the HTML5 Application Repository Service
Intro to the HTML5 Application Repository ServiceIntro to the HTML5 Application Repository Service
Intro to the HTML5 Application Repository Service
 
Bot that chats with sap
Bot that chats with sapBot that chats with sap
Bot that chats with sap
 
Des ops101 : Overview - RH CoP UI/UX 9nov2018
Des ops101 : Overview - RH  CoP UI/UX 9nov2018Des ops101 : Overview - RH  CoP UI/UX 9nov2018
Des ops101 : Overview - RH CoP UI/UX 9nov2018
 
Create Conversational Applications to Transform the Digital Enterprise
Create Conversational Applications to Transform the Digital EnterpriseCreate Conversational Applications to Transform the Digital Enterprise
Create Conversational Applications to Transform the Digital Enterprise
 
Tech talk
Tech talkTech talk
Tech talk
 
Oracle Chatbot (챗봇) 솔루션
Oracle Chatbot (챗봇) 솔루션Oracle Chatbot (챗봇) 솔루션
Oracle Chatbot (챗봇) 솔루션
 
The Three Pillars of Agile Integration: Connector, Container & API
The Three Pillars of Agile Integration: Connector, Container & APIThe Three Pillars of Agile Integration: Connector, Container & API
The Three Pillars of Agile Integration: Connector, Container & API
 
Crafting enhanced customer experience through chatbots, beacons and oracle jet
Crafting enhanced customer experience through chatbots, beacons and oracle jetCrafting enhanced customer experience through chatbots, beacons and oracle jet
Crafting enhanced customer experience through chatbots, beacons and oracle jet
 
Peoplesoft technical consultant interview questions
Peoplesoft technical consultant interview questionsPeoplesoft technical consultant interview questions
Peoplesoft technical consultant interview questions
 
Whats a Chat bot
Whats a Chat botWhats a Chat bot
Whats a Chat bot
 
.Net architecture with mule soft
.Net architecture with mule soft.Net architecture with mule soft
.Net architecture with mule soft
 
.Net architecture with mule soft
.Net architecture with mule soft.Net architecture with mule soft
.Net architecture with mule soft
 
Confluence vs sharepoint compared
Confluence vs sharepoint comparedConfluence vs sharepoint compared
Confluence vs sharepoint compared
 
Cloud Native Applications Containers Microservices Platforms CICD Oh my
Cloud Native Applications Containers Microservices Platforms CICD Oh myCloud Native Applications Containers Microservices Platforms CICD Oh my
Cloud Native Applications Containers Microservices Platforms CICD Oh my
 
SAP TechEd 2015 | DEV109 | Extending Cloud Solutions from SAP using SAP HANA ...
SAP TechEd 2015 | DEV109 | Extending Cloud Solutions from SAP using SAP HANA ...SAP TechEd 2015 | DEV109 | Extending Cloud Solutions from SAP using SAP HANA ...
SAP TechEd 2015 | DEV109 | Extending Cloud Solutions from SAP using SAP HANA ...
 
Conf42-LLM_Adding Generative AI to Real-Time Streaming Pipelines
Conf42-LLM_Adding Generative AI to Real-Time Streaming PipelinesConf42-LLM_Adding Generative AI to Real-Time Streaming Pipelines
Conf42-LLM_Adding Generative AI to Real-Time Streaming Pipelines
 
Design Systems, Beyond Components: Spacing, Measurement & More
Design Systems, Beyond Components: Spacing, Measurement & MoreDesign Systems, Beyond Components: Spacing, Measurement & More
Design Systems, Beyond Components: Spacing, Measurement & More
 

Recently uploaded

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 

Recently uploaded (20)

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 

Open conversational ai framework for building contextual chatbots and ai assistants

  • 1. Copyright © 2019 HCL Technologies Limited | www.hcltech.com OPEN CONVERSATIONAL AI FRAMEWORK FOR BUILDING CONTEXTUAL CHATBOTS AND AI ASSISTANTS. BY - PRASANNA VENKATESH JAYAPRAKASH (PRASANNAVJ@HCL.COM)
  • 2. 2 Copyright © 2019 HCL Technologies Limited | www.hcltech.com AGENDA Conversational AI Framework for building contextual chatbots and AI assistants.  Understanding Chatbot Architecture  Introduction to Current Chatbot Platforms and Industry Problem  Introduction to RASA Framework  introduction to RASA Chatbot Architecture  Natural Language understanding - Components  CORE Components and Structure.  Core - Stories and Dialog management  Integrating with External API  Demonstration using Restaurant Details capture details.  Demonstration integrating with Slack Messaging Platform.
  • 3. 3 Copyright © 2019 HCL Technologies Limited | www.hcltech.com CHATBOT ARCHITECTURE
  • 4. 4 Copyright © 2019 HCL Technologies Limited | www.hcltech.com INTRODUCTION TO CURRENT CHATBOT PLATFORMS AND INDUSTRY PROBLEM  Google dialogFlow  IBM  Microsoft  Amazon  Facebook  Industry problem:  To Implement the solution no inhouse platform.  All depend on cloud based learning solution – when enterprise plan to integrate might face problem due to the security and privacy concern of the providers.  Old rule based providers are phasing out  Solution:  Open Source conversational platform enable building and managing the complete chatbot inhouse – one such platform is RASA.
  • 5. 5 Copyright © 2019 HCL Technologies Limited | www.hcltech.com INTRODUCTION TO RASA FRAMEWORK  Utilizes customizable ML and NLP solution to enable developers to control how and what they wanted to achieve part of the conversation.  Provide option to integrate with external API services, External databases etc.  Provide option to integrate with various prominent chatting/Messaging solution i.e: - Slack, faceBook messenger etc.  Provide both Open Source (RASA Stack) and Commercial Offering (RASA Platform)
  • 6. 6 Copyright © 2019 HCL Technologies Limited | www.hcltech.com INTRODUCTION TO RASA CHATBOT ARCHITECTURE
  • 7. 7 Copyright © 2019 HCL Technologies Limited | www.hcltech.com NATURAL LANGUAGE UNDERSTANDING - COMPONENTS Creating using  Entity  Intents  Using RASA NLU Trainer
  • 8. 8 Copyright © 2019 HCL Technologies Limited | www.hcltech.com RASA CORE COMPONENTS AND STRUCTURE - DIALOG MANAGEMENT  Entity  Intents  Slots  Templates  Actions  Buttons
  • 9. 9 Copyright © 2019 HCL Technologies Limited | www.hcltech.com ENTITY - Entity allows us to define the list of items that Need to be recognized by Chatbot while conversing
  • 10. 10 Copyright © 2019 HCL Technologies Limited | www.hcltech.com INTENTS - Intent of the person Interacting with the chatbot
  • 11. 11 Copyright © 2019 HCL Technologies Limited | www.hcltech.com SLOTS - Recognized by chatbot and filled by the bot for further processing.
  • 12. 12 Copyright © 2019 HCL Technologies Limited | www.hcltech.com ACTIONS - Action to be carried out by Chatbot on specific input - Searching for restaurant - Connecting with back end Db etc.
  • 13. 13 Copyright © 2019 HCL Technologies Limited | www.hcltech.com TEMPLATES - Possible options for display To the used based on the Specific intent
  • 14. 14 Copyright © 2019 HCL Technologies Limited | www.hcltech.com DIALOG MANAGEMENT MODULE - STORIES  Stories - Potential option for conversation flow is detailed In the conversation.
  • 15. 15 Copyright © 2019 HCL Technologies Limited | www.hcltech.com CONVERSATION EXAMPLE - DEMO  Demo of solution:  Video Link: https://www.youtube.com/watch?v=qi0o3jwMjvo&t=26s  Live demo will be conducted during the presentation session.  Starting from setting up the NLU  Setting up core  Integrating with Zomato API  Integrating with SLACK
  • 16. 16 Copyright © 2019 HCL Technologies Limited | www.hcltech.com THANK YOU PRASANNA VENKATESH JAYAPRAKASH PRASANNAVJ@HCL.COM LINKEDIN – HTTPS://WWW.LINKEDIN.COM/IN/PRASANNA-VENKATESH-JAYAPRAKASH-454133A/ TWITTER - @PRASANNA_VRI