Automated Learning NLP
This API supplies a single endpoint which allows you to perform conversations through the AL for simulations.
Performs a prediction with a given String. The return value will be a key with an answer to be delivered, along with it's associated document and textual position.
post
Path parameters
orgUUIDstringRequired
A valid organization Uuid
envUUIDstringRequired
A valid environment Uuid
botUUIDstringRequired
A valid bot Uuid
Body
Object that contains the data needed to perform the prediction from the Cockpit
namestringOptional
Question variable
Responses
200
OK
*/*
400
Bad Request
*/*
401
Unauthorized
*/*
403
Forbidden
*/*
404
Not Found
*/*
409
Conflict
*/*
422
Unprocessable Entity
*/*
500
Internal Server Error
*/*
post
POST /org/{orgUUID}/env/{envUUID}/bot/{botUUID}/conversations/cockpit HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 17
[
{
"name": "text"
}
]
{
"answer": "text",
"documentId": "text",
"documentEnabled": true,
"filename": "text",
"confidence": 1,
"type": "text",
"position": {
"paragraph": 1,
"start": 1,
"end": 1
}
}
Was this helpful?