bots


Connecting LUIS dialog to form dialog and mapping builtin fields


I have a similar issue to this: Connecting LUIS dialog to form dialog and mapping the right fields
Except I am using built in entities in LUIS such as builtin.number, which I have given a name in LUIS e.g. Amount, but the mapping seems to only be between the field type in the form class and the entity type in the LUIS JSON. Obviously I can't have a field named builtin.number.
How would I go about mapping built in LUIS entities with a form field?
An alternative would be to create a new EntityRecommendation in your LuisIntent method using the Type that will map against your form class. Then you can add that entity into the list of entities you will pass to your form.
// not checking if entity exists for simplicity
var builtInEntity = result.Entities.First(x => x.Type == "builtin.number");
var entity = new EntityRecommendation();
entity.Type = "Amount";
entity.Entity = builtInEntity.Entity;
result.Entities.Add(entity);

Related Links

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
Bot Framework - Sign-In Card, how get auth result
How to stop my telegram bot replying to a message multiple times
Empty message body in receive messages from telegram bot
Bot Framework Facebook Messenger Account Linking
Slack bot - using Botkit to clear old messages
How to make bot commands available only for admin in a supergroup in Telegram?

Categories

HOME
amazon-web-services
protocol-buffers
tomcat
verification
functional-programming
jms
barcode-scanner
d3.js
postgresql-9.4
activemq
plpgsql
hdfs
yql
vue-resource
navigation
drag-and-drop
angular2-template
pyresttest
responsive-design
bellman-ford
migrate
cqrs
vimeo
smooks
live-streaming
squirrel-sql
jodatime
rest-assured
playframework-2.0
rpmbuild
scheduled-tasks
yii2-basic-app
bsd
device
pdf.js
web-config-transform
ipa
macromedia
python-2.x
microsoft-certifications
rails-postgresql
fastlane
llvm-ir
aurelia-http-client
rdp
stat
distributed-caching
opal-framework
md5-file
amazon-elastic-beanstalk
entropy
maven-jaxb2-plugin
aurelia-fetch-client
sidewaffle
http4s
bpms
qtextedit
controllers
carmen
fragmentstatepageradapter
groovyfx
adp
maximize
fdt
enunciate
miniconda
opencyc
gql
ipod
shoes
quercus
deque
fuseesb
dos2unix
password-recovery
configurable-product
lmax
nidaqmx
treeline
typesafe-stack
armv6
django-settings
aero
icenium
gitx
clrprofiler
chronometer
image-formats
coordinate
word-frequency
taskkill
kaazing
affinetransform
memory-pool
asio
drawimage
qt-mobility
kohana-auth
airprint
ninject-interception
motif
acceleration
html-generation

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