Home / DialogFlow ES / Dialogflow Template mode now deprecated
DialogFlow ES | Feature Updates

Dialogflow Template mode now deprecated

Update 17 Dec 2018: I mentioned earlier that I will write a post to explain how you can modify your bot to handle this change. I noticed that Svetlana from the Dialogflow team has provided a comprehensive answer for how to deal with this change.  I don’t really have much to add to that.

Recently, it was discovered (unfortunately, there was no official announcement) that the template mode has been deprecated in Dialogflow.

People going back to older template mode training phrases were shown this message.

I intend to write a longer article about this in a later post, but for now, if you have been impacted by this change, please leave a comment below this article and explain how exactly you were using this feature.

In my second post, I will take a look at the questions/comments and try and provide suggestions as to how you can work around this.

Also note that there are probably going to be scenarios where there may be no way to replicate the behavior of the template mode using only the example mode, but from my experience it is doable for the MOST part.

Also, a quick note on those who have used the @sys.any wildcard entity in template mode in your agents - you can achieve the same effect by simply typing out some random phrase which doesn't get annotated, and then select the entire phrase, and then assign it to the @sys.any wildcard. You will get a warning from Dialogflow, and it is actually important to understand the warning, but you can also ignore the warning and create the annotation anyway.

<— End of article —>

This website contains affiliate links. See the disclosure page for more details. 
"The magic key I needed as a non-programmer"

The custom payload generator was the magic key I needed (as a non-programmer) to build a good demo with rich responses in DialogFlow Messenger. I've only used it for 30 minutes and am thrilled. I've spent hours trying to figure out some of the intricacies of DialogFlow on my own. Over and over, I kept coming back to Aravind's tutorials available on-line. I trust the other functionalities I learn to use in the app will save me additional time and heartburn.

- Kathleen R
Cofounder, gathrHealth
"Much clearer than the official documentation to be honest"

Thanks a lot for the advice (of buying and following your videos)! They helped a lot indeed. Everything is very clear when you explain, much clearer than the official documentation to be honest 🙂

Neuraz T
Review for Learn Dialogflow CX
"I will strongly recommend this course because even I can learn how to design chatbot (no programming background)"

I think Aravind really did a great job to introduce dialogflow to people like me, without programming background. He organizes his course in very clear manner since I have been a college professor for 20 years. It is very easy for me to recognize how great Aravind’s course is! Very use-friend and very easy to follow. He doesn’t have any strong accent when he gives the lectures. It is so easy for me to understand. Really appreciate it.

Yes, I will strongly recommend this course because even I can learn how to design chatbot (no programming background) after studying Avarind’s course, you definitely can!

Ann Cai
Review for Learn Dialogflow ES

Similar Posts

    • Yes, it is true that you cannot use template mode anymore. But if you use the URL http://www.google.com within your training phrase Dialogflow annotates it correctly even now, so the system entity is still available. Am I missing something in your question?

  • I have a intent which accepts comments from User. Previously I was using the template mode and @sys.any in the phrase to accept all the text from the user. Now template mode has been deprecated and it goes to fallback if the user provides any text which is not understandable. How can I achieve the previous functionality with example mode? Please guide

    • Just type in some text like “This is a comment” in the training phrase, press Enter, select the whole text, and annotate it as @sys.any from the dropdown which pops up. In effect, that is going to do the same thing.

      Make sure the intent has an input context, otherwise this intent will start randomly matching all kinds of unexpected phrases. (By the way, this statement would be true even if template mode was still available)

  • I was using it to ‘smart match’ a department at a store for one of my projects. I wonder why Google has features that work well but then they just deprecate them? Seems kinda A.D.D. to me.

    • I think Dialogflow team said the template mode makes their pattern matching algorithm work poorly, and that example mode forces you to provide a bunch of examples, which should help the ML.