What is Fallback?
Fallback PromptDialog refers to a backup plan used when the system encounters inputs it cannot understand or process. It helps the system deal with the following situations:
- When users ask unrelated questions (Dialog flows & Faq not include the input), the system responds with something like “I don’t know.”
- If the user’s input is unclear or ambiguous, the system asks for more specific information.
- When the system is uncertain about a response, it may indicate its uncertainty.
- In the case of technical issues or errors, the system explains the problem to the user and may offer solutions.
PromptAI supports Fallback mode
In PrompttAI, three methods are supported as shown in the figure below
- webhook
- action
- talk2bits
Fallback with webhook
PromDialog also support to hand over the default reply to a third-party API for processing
- See Webhook-Fallback
Fallback with action
Action fallback
Fallback with Talk2Bits
PrompDialog supports one-click access to Talk2bits to process default replies, making the conversation experience more streamlined
For some texts, documents and Web materials, you can build a knowledge base through Talk2Bits quick reading, and you can complement each other with PromptAI by connecting to a platform like Talk2Bits. This article will explain how to integrate Talk2Bits into the Fallback.
- Tips: Other platforms can be accessed through Webhook, please contact us if you have any questions or requests.
Talk2Bits
Talk2Bits can automatically generate configuration codes after adding content, not only importing the web page to generate Chatbot directly in the lower right corner, but also enabling direct conversations by scanning codes with mobile phones.
- For more details, please visit: https://talk2bits.com/
- Chatbot introduction: https://talk2bits.com/app/publish
Example
Next, we will demonstrate how to connect the Fallback to Talk2Bits.
Talk2Bits Code
After logging in to Talk2Bits, click “Chatbot” to open the code pop-up window, then click the “Copy” button or copy manually to get the imported code.
Config Fallback with Talk2bits
In the project “Overview” - “Fallback” switch to “Talk2Bits” and paste the code obtained in the previous step, and finally click Save.
Test
Respond to user input via Talk2Bits.
Fallback with Default
When the above three methods fail, we will use the default method to handle the fallback, which is the text filled in in the figure below.