Skip to main content

Updates the behaviour configuration of a conversational agent version.

PATCH 

/api/v2/AgentVersion/:agentCode/:agentVersion/behaviour

Updates the behaviour configuration of a conversational agent version.

Request​

Path Parameters

    agentCode stringrequired

    The code of the agent.

    agentVersion int32required

    The version number of the agent.

Query Parameters

    culture string

    Use this param to override the culture of the response. Options: - en (default) - es

Body

The behaviour configuration request.

    systemDefinition stringrequired

    Possible values: non-empty and <= 40000 characters

    initialMessage stringrequired

    Possible values: non-empty and <= 2000 characters

    conversationObjective stringnullable

    Possible values: <= 1000 characters

    isRequestUserChoiceEnabled boolean

    Enables the Request User Choice skill, which lets the agent pause and ask the user to pick from a set of options before continuing. Defaults to false.

    isAgentTodosEnabled boolean

    Enables the Agent TODOs skill, which lets the agent keep a TODO list and iterate over it on its own until every item is done. Defaults to false.

    conversationStarters string[]nullable
    isUserInterruptionsEnabled boolean

    Enables User Interruptions, which let users send messages while the agent is still answering so they are merged into the running answer. Defaults to false.

Responses​

Behaviour configuration updated successfully.

Loading...