« first day (1 day earlier)    last day (15 days later) » 

1:46 AM
so 1. is there any advantage over the api for this way of abstracting the luis intents and entities.
2. this is a little more nuanced but hear me out.
I want to take 1 word answers/responses that could be used to store in a db or otherwise for a further purpose i.e. a recommendation model.
with that said, what I see from the waterfall dialog framework is a question can come in and the person responds to it. my expectation is to take their response and gain an entity from it. However, if I answer something in singular i.e. blue how will luis know that's an entity from an intent that I want... thus being able to assign it to some model for future use
i will use the booking flight example
i have response from a question such that if I said in my response germany that is not going to perhaps trigger a booking flight intent. Which then proceeds to land me in a dialog path other than an intent dialog path and throws away the word germany. Not entirely an intelligent response.
so instead I can force an intent... collect the dialog which is the word germany via an entity and respond to the user and ask them "would you like to travel to germany?" If they say yes, then I could say what city in germany? and proceed on the normal dialog path
Again, Germany could be an entity but I would know because wouldn't have an intent
you may want to purely extract entities from a conversation.. now, if there is no entity in your forced response of an intent + dialog/entity then you know the user is on a alternate path. i.e. they respond with pizza
lol does that make sense?
i think it does but wondering what your thoughts are
 
 
2 hours later…
4:16 AM
Wow, my brain hurts. :-P
What are you planning on doing with the entities via LUIS at the end of all of this once the information has all been added? Showing a card which confirms the information that they entered?
 
hi
that or have you looked into the personalizer which tbh is a recommendation engine?
 
I still feel like stateful waterfall dialogs are what you're after. There is an example here of how you can add state to your dialogs. That way you could save the user's input.
What do you feel are the benefits of using LUIS to get the entities out? That should mainly be used for deconstructing a sentence when a user says I want to go to Germany on the 24th of this month via London.
 
first do you get what i am saying? and does it make practical sense
 
I haven't looked into personalizer sorry.
 
because the user may just say germany
which in this bot example wouldn't produce an intent
i look at intents of having 2 powers... 1. what is the person saying and the confirmation of that statement 2. abstracting pertinent information from that statement
with entities
i'll give the example of the car again.
What color car would you like
if I say blue or green
my response back to system is blue or green
that's not a good data point
i just need blue; green;
and another aspect. If I say what color interior would you like. If I say red leather... red tells me what I want. But leather tells me something else that I can extract and use from that sentence. The person responded to the query with a color and a texture. Texture may not have been the intent of the question but it may have the label in the intent of texture and thus I don't have to ask the person that question about texture... I think it just leads to more intelligent dialog.
 
4:30 AM
Could you not have a card displayed with buttons that a user could click to send the intent to LUIS and start the appropriate dialog/waterfall? You could integrate LUIS to pull multiple intents out of the dialog responses but I haven't really delved too deep into LUIS and entity extraction.
 
you could give the user a choice or you could process the response and let that be your lead intent or main intent. i.e. I'd like to buy a car -> purchase car intent
the proceeding dialog would then flow through a series of intent / entity data collection
I'd like a blue car
= purchase a car with exteriorColor intent -> entity = blue
 
Yeah you could code it to work through either buttons or text.
 
now I don't have to ask that question in the dialog flow. I can skip it
 
Correct.
 
so do you like the idea
or is it overkill
 
4:37 AM
It seems nice in theory but practicality is another matter in terms of the code paths. It means more complex scenarios to test (you can add unit tests for utterances to check these). I prefer to keep things simple, then cater to power users later on. Prove the concept first then look to make it more powerful.
I would definitely post another question on SO about it though, there are people who are much more knowledgable on these matters than me.
 
i believe i have enough knowledge and ability now to build my car example... I want to interact with a user of a 2 forked dialog questionnaire which one will be a car purchase...
 
Ok, sounds good. :-)
 
the dialog firing will be chosen by the main intent of the persons response. i.e. the can order a pizza or purchase a car
from there I just want to ask prompts to the user to get information they respond with to data entry points
you want to buy a red car with red leather interior and premium sound option. is this correct?
 
Seems reasonable.
 
again i realize I can just make prompts with choices
but when you say pick a color and then display 20 colors lol that's not good interaction
 
4:43 AM
Of course not, but you could say here are our top n colours, or type your own below.
 
but if i say type your own and the user says green or red or blue
that's not a good data point
 
Ok then.
Best of luck! :-D
 
lol i think if I build the prototype people will appreciate it and maybe understand it a little better. or I will learn it is a bad idea.
thanks for your hel
just to ask do you build bots for a living
 
I've been building bots for the last 2 or so months at work, haven't really gone deep into the LUIS side of things apart from using the intents for routing.
 
intents for routing to dialogs
or routing to site endpoints
 
4:52 AM
Dialogs/processing logic as per docs.microsoft.com/en-us/azure/bot-service/….
Hey I've gotta go now. Best of luck with the project. No doubt I'll see you around SO again.
 
thanks again
 
No problem.
 

« first day (1 day earlier)    last day (15 days later) »