Open LittleYenMin opened 5 years ago
{ "query": "Book me a flight to Cairo", "topScoringIntent": { "intent": "BookFlight", "score": 0.9887482 }, "intents": [ { "intent": "BookFlight", "score": 0.9887482 }, { "intent": "None", "score": 0.04272597 }, { "intent": "LocationFinder", "score": 0.0125702191 }, { "intent": "Reminder", "score": 0.00375502417 }, { "intent": "FoodOrder", "score": 3.765154E-07 }, ] }
Note: the intent is the answers, and the score is the value of cosine-similarity.
WIP branch compare-input-with-questions
Note: the intent is the answers, and the score is the value of cosine-similarity.