You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am new to this tool so I do not know if this has been asked before (have not found it in the issues), but I would like to know if there is any way to use context values in the Classifier. This means that the results can vary according to some values.
Let's say I have these relations: "My favorite animal is the dog" -> context = [animals] and "My favorite song is the Yellow Submarine" -> context = [songs].
Then I ask "Which one is yours?", which would result in different values depending of the value of context. This one looks like a poor example because "Which one is yours?" can be checked always and context can be read inside of the function, but sometimes it is not possible.
Basically, what I am asking is to know if it possible to train the classifier to embrace/reject some context values. This could be an example:
myClassifier.addDocument('which one is yours?',contextRequired=['colors'],your_favorite_color);myClassifier.addDocument('which one is yours?',contextRequired=['animals'],your_favorite_animal);
I am new to this tool so I do not know if this has been asked before (have not found it in the issues), but I would like to know if there is any way to use context values in the Classifier. This means that the results can vary according to some values.
Let's say I have these relations:
"My favorite animal is the dog" -> context = [animals]
and"My favorite song is the Yellow Submarine" -> context = [songs]
.Then I ask "Which one is yours?", which would result in different values depending of the value of context. This one looks like a poor example because "Which one is yours?" can be checked always and
context
can be read inside of the function, but sometimes it is not possible.Basically, what I am asking is to know if it possible to train the classifier to embrace/reject some context values. This could be an example:
This should also be used in negative ways:
Not my best examples but I hope you can understand me. It is completely based on the Contexts of Dialogflow:
https://cloud.google.com/dialogflow/docs/contexts-overview
The text was updated successfully, but these errors were encountered: