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:
Return the most relevant search results to the search query from the uploaded documents.
REQUIRED | KEY | TYPE | DESCRIPTION |
---|---|---|---|
Yes | deploymentToken | str | A token used to authenticate access to created deployments. This token is only authorized to predict on deployments in this project, so it can be securely embedded in an application or website. |
Yes | deploymentId | str | A unique identifier of a deployment created under the project. |
Yes | queryData | dict | A dictionary where the key is "Content" and the value is the text from which entities are to be extracted. |
No | num | int | Number of search results to return. |
KEY | TYPE | DESCRIPTION |
---|---|---|
success | Boolean | true if the call succeeded, false if there was an error |
List[NlpSearchPrediction] |
TYPE | WHEN |
---|---|
DataNotFoundError |
|