This page walks you through the steps to set up and start using Quality AI.
Prerequisites
The following steps ensure you can access Quality AI:
- Enable Conversational Insights for your project and ensure you have access to the Conversational Insights API.
- Enable Dialogflow runtime integration.
Use Quality AI
- Open Google Cloud CCAI and select your project where Conversational Insights is enabled.
- Click Insights > insert_chart Quality AI.
Make a scorecard
You can create different scorecards for different business units.
- Click article Scorecards > + Add scorecard.
- Click Untitled Scorecard edit and add a name for your scorecard > Unspecified description edit, and add a description of what the scorecard is for.
Click + Add question > add a question to evaluate agent performance and an optional tag. For each question, you can select a tag: business, customer, or compliance.
Example
Question: Did the agent understand the customer's needs by asking thoughtful questions throughout the conversation?
Tag: Customer
Add instructions to define the interpretation of each answer choice.
Example
Instructions:
Yes: The agent asked thoughtful questions. OR The agent demonstrated active reading skills.
No: The agent did not ask thoughtful questions. The customer had to repeat themselves multiple times due to the agent's lack of understanding toward the customer's needs. The agent only asked necessary questions, such as their zip code or product name.
NA: Unable to ask questions. The interaction was for transfer or was a non-sales related interaction.
Select an answer type, enter the answer choices and their corresponding scores, and check the box to include
N/A
, if applicable.Click + Add answer choice to include additional answer choices and their scores.
Example
Answer type: Yes/No
Answer choice and score: Yes 1, No 0
check_box Add 'N/A' (not available) as an answer choice. If selected, the question will not be included in the total score calculation.
Click Save.
Repeat steps 3-6 for each of your questions > Click Next.
Calibrate the AI model
You calibrate models using example conversations, which consist of conversations, associated questions, and expected answers. You must upload example conversations as a CSV file. For more details on formatting your example conversations, see the Quality AI best practices page.
Prepare example conversations
Quality AI provides a template which automatically generates the alphanumeric conversation, scorecard, and question IDs for a specific scorecard. You can also filter which conversations to include. You must add the answers for each question.
Follow these steps to create your template for example conversations within the Quality AI console.
- Navigate to Conversations and add filters to select specific conversations.
- Click Create example conversations template.
- Click Scorecard and select the name of your scorecard.
- Click Cloud Storage Destination and enter the location of a file in your Cloud Storage bucket.
Upload example conversations
When you have a CSV file with your example conversations, you must upload it to facilitate model calibration.
Within your Quality AI-enabled project, upload example conversations to your Cloud Storage bucket.
For a detailed walkthrough on how to use Google Cloud Storage with the Google Cloud console, see the Cloud Storage documentation.
In the Quality AI console, navigate to Scorecards > select your scorecard > click Next to select example conversations.
Click + Add example conversations and enter the path to your Cloud Storage bucket, then click Add.
Click Begin calibration to initiate model calibration, which can take from four to eight hours. (Time increases for scorecards with more questions or example conversations.)
After calibration, click Launch new version.