Objects

ActionRequest

Published @ 15/12/23 by

author Fatos
Fatos, Founder @ answerly.io

ActionRequest is an object that you can use to guide the agent's response to achieve a specific effect. This could be to reply to the user's message, to build upon its own previous response, or to initiate a conversational form.

Conversational

name string required
The conversational action request is the simplest action request you can use to create a generic response from the agent.

With this request, the agent will simply respond to the latest message in the conversation.

Possible action responses:


conversational - The agent simply responded to the query.

human-takeover - The agent responded with instructions about human takeover.

hallucination - The agent responded that it does not know the answer to the query.

unrelated-query - The agent responded that the query is unrelated to the business.

offense - The agent responded that the query couldn't be answered because it contained offensive content.

token-limiter - The token limiter kicked. The agent responds with it's fallback message. No tokens are used for the request.
{
    "name": "conversational"
}