bots


scope of questions in api.ai


Can anyone suggest me , how to allowed scope of questions in api.ai? i.e. I want to ask user "how many book can you carry at a time ?" : user can reply any positive integer number. Then my bot reply: "good , you can still better than others!". now, without any reference if user directly write "any positive integer number" at starting then also bot reply : "good , you can still better than others!" , instead of "I didn't get"(or default response.). This answer come only when previous question has been asked.How can I do this?
==== case : 1 ====
Bot: how many book can you carry at a time ?
User:5
Bot:good , you can still better than others!
=== case : 2 ===
(without any reference if users gives inputs at very starting of conversation)
User: 5
Bot: good , you can still better than others!
Thanks In Advance.
You should make a required parameter instead of putting numbers in User says:
In your intent configure your action to have one required parameter numBooks. Have the prompt for that parameter be "how many book can you carry at a time ?". Then for that intent, have the response be, "good , you can still better than others!". Finally, in the User says section, add anything you want the user to say to trigger the intent, for example: "hi". Save your intent. Now whenever a user says "hi" the bot will ask the question and the conversation will begin. But if the user randomly sends a number, it will respond with fallback intent.

Related Links

Skype bot in “In Review” Status
Bot framework documentation qna maker [closed]
How to make telegram bot to remove links?
Testing in Bot Framework returns 401 Unauthorized
Bot Framework .Net Activity reply = activity.CreateReply(
How to access the filled data when using Formflow Namespace in Skype Bot Framework?
Microsoft bot framework getting the users time zone
How to get credentials for the Direct Line API microsoft bot framework?
Telegram bots: How much API keys can I generate?
Weird rendering in “Fetch as Google”
Effective way of training the bot, language processing APIs
What would be the right way to ask the person to enter a city inside a bot?
What is the right way to save/track state inside a Facebook Messenger bot?
How to implement a chatbot to human executive switch using Microsoft Bot Framework?
How to stop or throttle bot traffic
Skype bot card images not showing up

Categories

HOME
flask
events
generics
cucumber
schema.org
d3.js
subdomain
ews
mongoid
header
navigation
ipv6
clone
save
solution
locationmanager
fullcalendar-scheduler
jquery-file-upload
dhcp
web-deployment
tomcat8
fosuserbundle
hidden
codefluent
unity-container
android-permissions
channel
function-points
beego
sap-lumira
basex
bonita
social-networking
tilemill
windowsiot
express-session
dreamfactory
eclipse-gmf
android-alarms
google-now
sbjson
praat
imgur
jacoco-maven-plugin
opal-framework
icecast
scala-breeze
password-hash
popen
word-2016
d3v4
ogg
mifos
okio
nclam
system.net.mail
traversable
cdo.message
qtcpsocket
perforce-integrate
yii2-model
adjacency-list
persistent-object-store
wif4.5
myfaces
grinder
outlook.com
helm
calcite
css-paged-media
wso2ml
uitest
modern.ie
domino-designer-eclipse
mobilefirst-server
angular-amd
signed
baseadapter
inputbox
oracle-adf-mobile
csslint
accountmanager
property-injection
strcmp
san
quickgraph
spiral
asp.net-mvc-3-areas
django-filebrowser
linkbutton
lynx
multiple-dispatch
story
nsmutablestring
n-queens
digiflow
stretchblt
jboss-mdb
suggestbox

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App