Hi! I am using rasa for intent classification and I want to use rasa model as an API wherein I will call this API from somewhere else, I want to make it somewhat like a function like getIntent() which will get intent after running some functions. I am unable to find the functions for the purpose, please help me. Thanks in advance!!
For intent u can use http://localhost:port.no/model/parse by making a POST request with json body with key value text and message id to get a intent respond you can refer to the FASTAPI part for more information: webkitSpeechRecognition and Rasa
1 Like
Get Intent () Of what ?
get intent could be a function that we would call from our api and then in the api we’ll have the functions to run our model without using shell nlu.