curl --request GET \
--url https://application_id.applications.lucidworks.com/ai/async-prediction/{PREDICTION_ID}
{
"predictionId": "fd110486-f168-47c0-a419-1518a4840589",
"status": "READY",
"predictions": [
{
"response": "CORRECT: misspelled",
"tokensUsed": {
"promptTokens": 148,
"completionTokens": 27,
"totalTokens": 175
}
}
]
}
curl --request GET \
--url https://application_id.applications.lucidworks.com/ai/async-prediction/{PREDICTION_ID}
{
"predictionId": "fd110486-f168-47c0-a419-1518a4840589",
"status": "READY",
"predictions": [
{
"response": "CORRECT: misspelled",
"tokensUsed": {
"promptTokens": 148,
"completionTokens": 27,
"totalTokens": 175
}
}
]
}
OK
The response is of type object
.
Was this page helpful?