Skip to main content
POST
Predict the next action

Authorizations

token
string
query
required

A plaintext token to secure your server, specified at startup in the argument --auth-token thisismysecret

Path Parameters

conversation_id
string
required

Id of the conversation

Response

Success

scores
object[]

Prediction results

policy
string

Policy which predicted the most likely action

Example:

"policy_2_TEDPolicy"

confidence
number

Confidence of the prediction

Example:

0.057

tracker
object

Conversation tracker which stores the conversation state.