NLU
A JSON endpoint is exposed to allow running realtime predictions using the model trained within Studio. The input is a single utterance, and the output is a distribution over intents.
info
This uses our hf command line tool to generate an access token. Refer to the authentication section for instructions on how to obtain them programmatically.
Here is example response:
info
For brievity, intents that have a probability lower than 0.01 are not returned in the response.
note
Your workspace must have a trained model available, you can trigger this by clicking on Labeled data > Test
within Studio. The model is available via the API as soon as the training process has completed