Knowledge AI NLP
This API supplies a single endpoint which allows you to perform conversations through the Knowledge AI (Automated Learning) for simulations.
The UUID of the organization.
The UUID of the environment.
The UUID of the bot.
It is an identifier provided by the API client that will be used to identify distributed logs.
Data transfer object for Cockpit Predict V2 requests.
Unique identifier for the collection.
Ok
Bad Request
Unauthorized
Forbidden
Not Found
Request Timeout
Conflict
Unprocessable Entity
Internal Server Error
Bad Gateway
POST /org/{orgUUID}/env/{envUUID}/bot/{botUUID}/v2/conversations/cockpit HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 54
{
"collectionUUID": "text",
"examples": [
{
"name": "text"
}
]
}
{
"answer": "text",
"documentId": "text",
"documentEnabled": true,
"filename": "text",
"type": "text",
"storageFilename": "text",
"answers": [
{
"content": "text",
"score": 1,
"storageFilename": "text",
"collectionUUID": "text"
}
]
}
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.
A valid organization Uuid
A valid environment Uuid
A valid bot Uuid
It is an identifier provided by the API client that will be used to identify distributed logs.
Object that contains the data needed to perform the prediction from the Cockpit
Question variable
Ok
Bad Request
Unauthorized
Forbidden
Not Found
Request Timeout
Conflict
Unprocessable Entity
Internal Server Error
Bad Gateway
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",
"type": "text",
"storageFilename": "text",
"answers": [
{
"content": "text",
"score": 1,
"storageFilename": "text",
"collectionUUID": "text"
}
]
}
Last updated
Was this helpful?