evaluate Custom Service
Evaluates the customer service bot for separate evaluation of human and bot interactions.
When establishing a customer service connection, if the returned is EVA_SEPARATELY, call this method to evaluate the human customer service.
Parameters
The customer service ID, obtained after applying for activation on the RCdeveloper console.
Indicates whether the bot resolved the issue. true
if resolved, false
otherwise.
The message ID for bot evaluation. This parameter is valid only when all of the following 4 conditions are met; otherwise, pass an empty string. When valid, the value of sid described in condition 4 should be passed as the knowledgeId:
1. Bot mode is enabled.
2. The message is newly received, not a historical message loaded from the database.
3. robotSessionNoEva is set to true in , which is a parameter returned in the onSuccess() callback of after the customer service is successfully started.
4. The Extra field of MessageContent contains both robotEva and sid fields.
Evaluates the human customer service agent, used for separate evaluation of human and bot agents.
When establishing a customer service connection, if the returned is EVA_SEPARATELY, call this method to evaluate the human customer service agent.
Parameters
The customer service agent ID, obtained after applying for and enabling the service on the RCdeveloper console.
The rating, ranging from 1 to 5, where 5 is the highest and 1 is the lowest.
The customer's feedback and suggestions for the human customer service agent.
The conversation ID. This parameter is valid when the customer service backend actively pulls the evaluation; otherwise, pass an empty string. When the customer service actively pulls the evaluation, it will trigger the onPullEvaluation callback in and return the dialogId.
Evaluates the customer service bot, allowing separate evaluations for human and bot interactions.
When establishing a customer service connection, if the returned is EVA_SEPARATELY, this method is called to evaluate the human customer service representative.
Parameters
The customer service ID, obtained after applying for and enabling the service on the RCdeveloper console.
The star rating, ranging from 1 to 5, where 5 is the highest and 1 is the lowest.
The resolution status CustomServiceConfig.CSEvaSolveStatus.
Tags for ratings below 5 stars, separated by commas.
Customer feedback and suggestions for the human customer service representative.
The conversation ID. This parameter is valid when the customer service backend actively requests an evaluation; otherwise, pass an empty string. When the customer service actively requests an evaluation, the onPullEvaluation callback is triggered, returning the dialogId.
Reserved for future extensions; can be passed as null.
Evaluation for chatbot customer service, used for unified evaluation of both human and chatbot interactions.
When establishing a customer service connection, if the returned is EVA_UNIFIED, call this method to perform the evaluation.
Parameters
The customer service ID, obtained after applying for activation on the RCdeveloper console.
The star rating, ranging from 1 to 5, where 5 is the highest and 1 is the lowest.
The problem resolution status . If there is no resolution status, any value can be passed here, and the SDK will not process it.
The customer's feedback and suggestions regarding the human customer service.
The conversation ID. This parameter is valid when the customer service backend actively pulls the evaluation; otherwise, pass an empty string. When the customer service actively pulls the evaluation, it will trigger the onPullEvaluation callback in , and the dialogId will be returned.