Method
setDeploymentConversationFeedback POST
Copy POST

Sets a deployment conversation message as useful or not useful

Arguments:

REQUIRED KEY TYPE DESCRIPTION
Yes deploymentConversationId str A unique string identifier associated with the deployment conversation.
Yes messageIndex int The index of the deployment conversation message
No isUseful bool If the message is useful. If true, the message is useful. If false, clear the useful flag.
No isNotUseful bool If the message is not useful. If true, the message is not useful. If set to false, clear the useful flag.
No feedback str Optional feedback on why the message is useful or not useful
No feedbackType str Optional feedback type
No deploymentId str The deployment this conversation belongs to. This is required if not logged in.
Note: The arguments for the API methods follow camelCase but for Python SDK underscore_case is followed.

Response:

KEY TYPE DESCRIPTION
success Boolean true if the call succeeded, false if there was an error

Exceptions:

TYPE WHEN
DataNotFoundError

deploymentConversationId is not found.

DataNotFoundError

deploymentId is not found.

Language: