Dual Intent Recognizer (DIR)
Available for the Phone 2 platform.
What is Dual Intent Recognizer (DIR)?
The Dual Intent Recognizer (DIR) enables bots to discern and respond to multiple user intents within a single utterance, significantly enriching conversational interactions by making them more efficient and fluid.
An Example Scenario
Consider a user stating, "Hi, I want to change my address as I have just moved and need a copy of my last invoice." This utterance encapsulates two distinct intents:
Changing their address (Intent:
ChangeAddress
)Requesting a copy of an invoice (Intent:
ReceiveInvoice
)
With DIR, your bot is adept at addressing both intents in tandem, streamlining the interaction.
Setting Up Dual Intents
Step 1 â Define Single Intents
First, ensure single intents, such as ChangeAddress and ReceiveInvoice, are established with their respective utterances.
Step 2 â Create a Dual Intent
Create a new intent that combines two existing ones. Use a +
to link them, creating an intent like ChangeAddress+ReceiveInvoice
.
Step 3 â Adding Utterances
Provide this new dual intent with sample utterances that represent both intentions, aiding in training the NLU component.
Step 4 â Implementation in Parloa Graph
Integrate this dual intent into your dialog flow within the Parloa Graph, treating it as any standard intent.
Using DIR
Create intents with individual utterances for each underlying intention.
Combine two intents using a
+
, such asChangeAddress+ReceiveInvoice
.Provide the new dual intent with example utterances that cover both intents.
Incorporate this dual intent into the Parloa Graph for dialog flow management.
Benefits of Using DIR
Enhanced User Experience: Enables users to articulate multiple needs in one statement, facilitating swifter issue resolution.
Efficiency: Optimizes dialog flow by minimizing the interactions required to ascertain user intents.
Adaptability: Equips bots to adeptly manage complex or multifaceted user queries, enhancing the overall conversational quality.
FAQ
Last updated