Your Drift Bionic Chatbot learns and improves over time through a process often referred to as retraining. This happens when you provide feedback on the bot's messages after testing its AI responses in the Message Inspector.
In this article, we’ll go over:
- Overview of Retraining Trigger
- Determining Messages to Retrain
- Thumbs Up Feedback (Positive Response)
- Thumbs Down Feedback (Negative Response)
Overview of Retraining Triggers
The retraining process begins when a Message is Sent by the chatbot when testing and training AI responses in the Message Inspector.
From this point, each response is evaluated and categorized into one of the following categories for retraining:
- Cached Response: The bot pulled from a previously approved answer.
- Scenario: The bot tried to use a pre-defined conversational path. For further details on Scenarios, check out our Bionic Chatbot Scenarios help doc.
- Global Guardrail: The bot triggered a universal safety rule.
- General Inquiry: A general message that the bot responded to.
For a better understanding of the information on this doc, it's highly recommended to review the Message Inspector and the testing and training AI responses help docs.
Determining Messages to Retrain
The Bionic Chatbot's training model is activated when you give a thumbs up or thumbs down to one of its messages in the Message Inspector. This feedback tells the bot whether its response was helpful or not.
Thumbs Up Feedback (Positive Responses)
When you give a thumbs up, it means the bot's response was accurate and helpful. This action caches the input/output pair instantly. This means that for the same or similar questions in the future, the bot will use the exact same, correct response without needing further training. You can select relevant messages for review via the AI responses acceptance column in the Message Inspector.
Thumbs Down Feedback (Negative Responses)
A thumbs down indicates that the bot's response was inaccurate or unhelpful. This action flags the input/output pair of the message for review during model training. Your feedback is crucial here as it helps pinpoint why the bot gave a bad reply, allowing you to retrain, correct, or update its behavior via the Message Inspector.
The following branches of a thumbs down process are categorized depending on the message type the bot detects. Retraining options vary baed on how it is trained:
Cached Responses
A cached response is a previously approved answer that the bot stores and reuses for similar questions to ensure quick, consistent, and accurate replies. You can also see a log of who and when this response was approved by hovering over it in the AI responses acceptance rate column.
If you give a thumbs down to a cached response, you can categorize the issue:
1. Bad Response
- Outcome: The chatbot failed to answer a valid question.
- Action: You'll need to refine the response directly or point the bot to a different, more accurate source.
2. Should Have Hit a Scenario
- Outcome: The bot should have followed a specific, pre-built conversational path (a scenario) but didn't.
- Action: You'll manually select the correct scenario. Upon the next scheduled retrain this input will hit the scenario that has been selected.
3. Other
- Outcome: The feedback doesn't fit the above categories.
- Action: This feedback is routed for further review or tagged for future improvements to the Drift internal teams.
Global Guardrail
Global Guardrails are universal safety rules designed to prevent inappropriate responses, ensure compliance, and protect the integrity of your conversations. If a guardrail was incorrectly triggered or missed, here's how you can provide feedback:
Should Have Hit a Scenario:
- Outcome: The bot should have followed a relevant pre-built scenario but didn't.
- Action: You'll manually select the correct scenario, which schedules future retraining to address this issue.
Other:
- Outcome: The feedback doesn't fit the above categories.
- Action: This feedback is routed for further review or tagged for future improvements by the Drift team.
Should Not Have Hit Any Guardrails:
- Outcome: The bot incorrectly triggered a guardrail, blocking a valid conversation.
- Action: You'll provide specific feedback. The bot will retrain to hit General Inquiry during the next retaining period. You can view the next scheduled retrain at the top of the message inspector.
Scenario
Scenarios are pre-defined conversational flows with structured logic and tailored responses for specific use cases (like booking a demo, answering pricing questions, etc.). If the bot mishandles a scenario, here are the feedback options:
1. Wrong scenario hit
- Outcome: The bot triggered an irrelevant scenario instead of the correct one.
- Action: You'll manually select the correct scenario. This will schedule retraining to fix the discrepancy.
2. Should not have hit any scenario
- Outcome: The bot incorrectly tried to use a scenario when it should have given a general response.
- Action: This schedules retraining to ensure the bot handles this as a general inquiry in the future. You can view the next scheduled retrain at the top of the message inspector.
3. Correct scenario, incorrect response
- Outcome: The bot triggered the right scenario, but its response within that scenario was wrong.
- Action: You'll enter specific feedback. This feedback is then routed for further review or tagged for future refinement. In addition, you can edit the prompt in the reply guidelines for this scenario.
General Inquiry
General Inquiries are general questions or messages that the bot will respond to using the content library and bionic model.
1. Bad Response
- Outcome: The chatbot failed to answer a valid question.
- Action: You'll need to refine the response directly or point the bot to a different, more accurate source. This will trigger an instant change to cache the response.
2. Should Have Hit a Scenario
- Outcome: The bot should have followed a specific, pre-built conversational path (a scenario) but didn't.
- Action: You'll manually select the correct scenario. This will schedule retraining to fix the discrepancy.
3. Other
- Outcome: The feedback doesn't fit the above categories.
- Action: This feedback is routed for further review or tagged for future improvements to the Drift internal teams.
By actively providing feedback through these categories, you play a direct role in improving your Drift Bionic Chatbot's accuracy and effectiveness, making its conversations smarter and more helpful over time.