Hello So I am creating a chat bot with two language, A is supported and B is not supported(I used A and B so it will be easier to read) and the issues is I want to have default fall back for both but when I type random word for B it always call the default fallback of A. I also tried create a normal intent and name it fallback for B and add some phrase and it work but when I type random word for A it call the fallback of B. Is there any work around for the issues? Would appreciate any answer :)
Dialog flow default fall back
262 Views Asked by rox At
1
There are 1 best solutions below
Related Questions in DIALOGFLOW-ES
- Get data from a Google Sheet within a Google Home Action?
- Can I send images back to API.AI?
- How to classify a sentence based on a few templates?
- Detect the speaker of Google Home or Amazon's Alexa
- Design custom entities for api.ai
- I'm sending an Api.ai carousel message to Smooch.io but it ends up being rendered as text
- How to end the conversation with API.AI
- API.AI does not connect to my back-end
- Why fallback intent is not working in api.ai?
- After I've built a conversation flow in a chatbot, how'd I get the chatbot to actually perform the desired actions?
- How to integrate google search engine to a chatbot using api.ai?
- How to get API.AI simply send me the JSON data of the conversation?
- Hooking up a web service, which can ask things back and receives answers?
- API.AI developer composite entity definition and Json results
- Using key-value pairs as api.ai entities for Google Actions
Related Questions in DIALOGFLOW-ES-FULFILLMENT
- Is it safe to use Firebase Admin sdk in dialogflow fulfillment when dialogflow talking to 3rd party services?
- Initiating a Webhook connection to a secure API endpoint utilizing an X.509 certificate in Google DialogFlow
- Fulfillment via cloud function (inline editor) not working when using Enviroments on dialogflow
- Transactions API example dialogflow node-js not responding
- Display data from JSON external API and display to DIALOGFLOW using AXIOS
- How to show Rich Response Buttons (''Chips) Using Dialogflow Fulfillment?
- Dialog flow default fall back
- How to ask "Was this helpful?" in DialogFlow at the end of conversation after rendering the response from Intent
- Jumping over to another intent by using the 'agent.setFollowupEvent(targetIntentEventName)' method in the DialogFlow Messenger fulfillment
- How access variable request/ response in another file js
- How to use a repeat keyword in dialogflow?
- Can we make FAQ skill with over 8000 questions on dialogflow and amazon alexa?
- Actions SDK dialogflow nodejs transactions API example without sandbox
- Dialogflow fulfillment two requests in te same intent
- Wrong intents are getting trigger on the inappropriate User input in Dialog Flow
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
I'm afraid there won't be a good work around for this as Dialogflow works with one NLP model per language. By trying to fit two languages into one model, you are creating a difficult scenario. The fallback intents are meant as a safety net in case of unrecognized input for the language of the NLP model, your second languages will always end up in the fallback intent as it is unrecognized input for the first language.
Yes you could create a custom fallback intent by entering words manually, but this isn't a valid solution since you cant fit every word of a language into an intent. So you will end up with certain words of the second language going into the custom fallback and some not.
In general it isn't recommended to fit two languages in a NLP model, so my recommendation would be to drop the unsupported language and wait for it to become supported, this will give you the best bot and experience.
If you would really need the second language, one thing you could try is add another supported language that you won't be using and train that on words of your unsupported language. Note: This NLP model will be very restricted in its features as it will only respond to the words you trained it to, build in entities won't work as your language is still unsupported, but it allows you to do some work with an unsupported language, but again, it will be very limited.