1

I am trying to achieve a specific use case with DialogFlow.

I have a list of countries and a knowledge base Q&A ser for each country. The questions for each country is similar, only the answers differ.

So I have to detect the country as an entity and route the question to the specific KB for that country. Link to design

This is easily possible with Luis and QnAMaker, but struggling with DialogFlow.

Please suggest if there is a way to achieve this.

Arjun
  • 21
  • 3
  • 1
    I'm looking for the same solution. Did you ever figure out what to do here? By writing javascript code I can intercept the response, but here (as you know) we need to intercept the request. – Arthur Frankel Dec 14 '20 at 19:40

1 Answers1

1

Dialogflow provides the @sys.geo-country System Entity which can be used to detect countries in conversation using entities. You can follow this to setup your entity.

Hope that helps!

Sairaj Sawant
  • 1,842
  • 1
  • 12
  • 16
  • Creating the entity is not a problem. But routing to different knowledge bases based on the entity value is something I couldn't find. – Arjun Jun 17 '19 at 15:07