Engati - User Guide
Generative AI
Show Related Matches (SRM): Implementation Guide
6min
The Show Related Matches (SRM) feature enhances the bot's interactivity by displaying related queries as options whenever a user interacts with the bot. This is particularly useful for FAQs, helping users refine their queries or discover relevant questions.Enabling this would show top matches from the training set based on the user’s query/statement and not just the best match. Users would be able to select the query to proceed.
- Assists Users: Guides users in formulating their questions effectively.
- Reduces Typing: Allows users to select from suggestions rather than typing their queries.
- Inspires Inquiries: Demonstrates the types of questions users can ask.
- Improves User Experience: If the bot lacks an exact response, it shows relevant suggested queries from the user's chat history instead of a default fallback message.
- Increased Engagement: Encourages users to interact further with the bot by suggesting related options.
To enable SRM:
- Ensure the eSense GPT connection is active.
- Enable the Text and Flow Path options.
- Verify that FAQ responses with Gen-AI are enabled. This is enabled by default for Gen-AI bots but must not be disabled.
- llm_faq_default_answer (Boolean)
- Purpose: Indicates if there is a semantic match for the user's query in the FAQ.
- Function: Confirms if an exact or close match exists for the query.
- questions_to_show (Array)
- Purpose: Stores related queries to be displayed as suggestions.
- Function: Provides the user with a list of related queries to select from.
Default Text and Flow Path Design:
- Define the default options for related matches in the bot’s decision-making flow.
- Implement custom scripts and decisions to dynamically display related queries.
Decisions and Scripts
- Counter_decision
- Purpose: Determines the flow path based on the query count.
- Logic:
- If `counter_check > 2`: Flow proceeds to the nudge path.
- If `counter_check ≤ 2`: Flow continues as usual.
- Are there any related matched questions decision
- Purpose: Verify whether related questions are available to display.
- Logic:
- If `true`: Flow shows related questions.
- If `false`: Flow moves to the nudge path.
- llm_faq_default_answer decision
- Purpose: Confirms if related matches exist when an FAQ answer isn't available.
- Logic:
- If `true`: Related matches exist, even without an FAQ answer.
- If `false`: Indicates related matches with an FAQ answer.
- Default Options Script
- Purpose: Displays fallback options based on the user’s query history.
- Show Related Matches Script
- Purpose: Displays related matches as selectable options.
Customizable Elements
- SMO Title:
- Can be modified directly in the script.
- Prompt Message:
- Default message (“Did you mean any of the following?”) can only be changed via backend configuration.
-
If you face any issues or queries please reach out to us at [email protected]
Updated 10 Jan 2025
Did this page help you?