Once your model is trained, you must deploy the model on Abacus.AI platform to generate predictions. You can use the prediction dashboard to generate the predictions from the trained model. In this section the underlying prediction API and all other additional prediction API methods are discussed for the use case in consideration:
Predicts sentiment on a document
REQUIRED | KEY | TYPE | DESCRIPTION |
---|---|---|---|
Yes | deploymentToken | str | A token used to authenticate access to deployments created in this project. This token is only authorized to predict on deployments in this project, so it is safe to embed this model inside of an application or website. |
Yes | deploymentId | str | A unique string identifier for a deployment created under this project. |
Yes | document | str | The document to be analyzed for sentiment. |
KEY | TYPE | DESCRIPTION |
---|---|---|
success | Boolean | true if the call succeeded, false if there was an error |
dict[str, NlpSentimentPrediction] |
TYPE | WHEN |
---|---|
DataNotFoundError |
|