Professional Documents
Culture Documents
Build Your First Chatbot: Developer Workshop
Build Your First Chatbot: Developer Workshop
Build Your First Chatbot: Developer Workshop
Build complex Train your bot to Connect your bot to Monitor through logs
conversations and understand human multiple messaging and usage analytics
powerful logic language or fallback channels to improve your bot
#1 Bots
#2 Natural Language Processing
#3 Conversation
#4 Workshop
#5 Resources
Bots
Bot architecture #2
Only using NLP from Recast.AI
Client’s IT
Bot Connector
3
API
2 Logic
Bot Builder
4 Answers
Bot Builder
Learn overtime
Understanding the user’s input
Natural Language Processing tasks
Intent classification
Entity extraction
Natural Language
Processing
An intent is a box of
expressions that mean the
same thing but are
constructed in different
ways. Each one of your
intents represents an idea
A bot is made of intents your bot is able to
understand.
An expression is a
sentence your bot can
understand: basically your
users’ inputs. Expressions
are organized in intents
Every intent is trained with expressions and constitute the entire
knowledge of your bot.
I want to watch a movie Any good western tonight? I want to start a new show!
INTENT
The more expressions you have, the more precisely your bot will be able to understand its
users. The aim is to detect in which intent box an expression the bot has never seen is.
An entity is a keyword
extracted from an
expression. We detect
automatically 31 different
entities such as datetimes,
Entities are extracted from each expression names, locations, etc.
1 EXTRACTION
2 ENRICHMENT
"datetime": [
{
"formatted": "Sunday, 01 January 2012
E-commerce
An E-commerce chatbot
could have 3 Skills such
as: product search, order
tracking and small talk.
E-commerce example
Example of conversation
Here is an example of a
conversation with an
E-commerce chatbot to
track an order.
Skills type
There are 3 different types of skills
Triggers
Conditions determining if the skill should or shouldn't be activated
Requirements
Determining the information the bot needs to retrieve from the user, and how to
retrieve it
Actions
performed by the bot when all requirements are complete (for example, send a
message)
Conditions define tests
that will either be true or
false. You will find
conditions in different
parts of your skill: triggers,
Skills have conditions requirements and in each
message group in actions.
Inside your data
conditions, you will find a
list of operands.
@ means intent
Conditions have operands # means entity
_ means NLP attribute
Intents Entities Skills
Follow tutorial:
https://recast.ai/blog/nodejs-chatbot-movie-bot/
Resources
Slack: slack.recast.ai
Github: github.com/RecastAI
Doc:recast.ai/docs
Blog:recast.ai/blog
Contact us
Pierre-Edouard Lieb
Partnerships Manager
pe@recast.ai
+33 6 68 10 71 84
Developer Workshop