'How do I set a "failsafe" response for my Oscova chatbot?
I'm creating an in-game chatbot in Unity, using Oscova Bot and Oryzer, which is new to me. I've set several expressions and responses to communicate with the chatbot, but I want to set a default/error response when the user input doesn't match any of the expressions.
I'm sure it's a simple solution, but I've tried scouring the documentation and google and can't come up with anything.
Solution 1:[1]
FailSafe responses come from Fallback intents
You can find more information on Fallback intents on the developer portal
https://developer.syn.co.in/tutorial/bot/oscova/fallback-intents.html?tabs=csharp-global-fallback
Solution 2:[2]
You need to change the following in the .env file and then RESTART the app
FORGE_CLIENT_ID="NEW_CLIENT_ID"
FORGE_CLIENT_SECRET="NEW_CLIENT_SECRET"
FORGE_DOC_URN="urn:NEW_URN_TRANSLATED_WITH_NEW_FORGE_CLIENT_ID_and_SECRET"
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Nathan |
| Solution 2 | Eason Kang |
