Is there a way to associate entities with questions from another section in an app. eg - in my user profile, I say I'm in CA. When I ask a question, is there a way to associate that CA info as an entity?
If so, what will happen if there is nothing about CA? Will it revert to a broader, answer?
Is there a way to give entities a hierarchical preference to differentiate between answers. So, for example, if there is an entity for looking in the US and an entity for looking in CA is there a way to give the CA entity more weight?
It sounds like something you should be able to do using the context. So when you get an answer, for example "I'm in CA", store that in the context using something like
<? @state ?> and refer to that later. As for preference between answers, the dialog node conditions are evaluated in order, so put the more specific answers, like CA, higher than less specific answers, like the US.
Have a look at the Memory section in Conversation Patterns with IBM Watson for more info.
Can intents have Wildcards? 2 Answers