Closed sdes-upf closed 3 years ago
There are example requests in https://github.com/inception-project/inception-external-recommender/tree/master/examples/requests and the protocol is described in https://inception-project.github.io/releases/0.17.4/docs/developer-guide.html#_external_recommender . It might be easier to adapt the code to use your protocol and just use our core that manages models if you do not want to use XMI/UIMA.
I was wondering if there is a way to run inception-external-recommender without a GUI, just sending programmatically a request to the running server.
For example, if i wanted to run the example code to start the server from the readme,
Then how could I send a text/Cas to
http://localhost:5000/spacy_ner/predict
to get the appropriate predictions returned as a JSON, for example?