Can I build my custom AI assistant using dialog flow?











up vote
-3
down vote

favorite












I am so confused. I want to build a chatbot like Siri but for my own tasks. It should be able to :
- search on the internet and get answers of questions .
- give people specific information daily.
- discuss with people some scientific phenomenas.



I can't determine what platform should I use to build this chatbot . I thought about using Dialog flow but I can't figure out if it will give me the ability to do that or no. Also I thought about using tensor flow but I think that it will take a very long time so I was wondering if I can achieve what I want with using some thing like dialog flow and not to build it from scratch?










share|improve this question




























    up vote
    -3
    down vote

    favorite












    I am so confused. I want to build a chatbot like Siri but for my own tasks. It should be able to :
    - search on the internet and get answers of questions .
    - give people specific information daily.
    - discuss with people some scientific phenomenas.



    I can't determine what platform should I use to build this chatbot . I thought about using Dialog flow but I can't figure out if it will give me the ability to do that or no. Also I thought about using tensor flow but I think that it will take a very long time so I was wondering if I can achieve what I want with using some thing like dialog flow and not to build it from scratch?










    share|improve this question


























      up vote
      -3
      down vote

      favorite









      up vote
      -3
      down vote

      favorite











      I am so confused. I want to build a chatbot like Siri but for my own tasks. It should be able to :
      - search on the internet and get answers of questions .
      - give people specific information daily.
      - discuss with people some scientific phenomenas.



      I can't determine what platform should I use to build this chatbot . I thought about using Dialog flow but I can't figure out if it will give me the ability to do that or no. Also I thought about using tensor flow but I think that it will take a very long time so I was wondering if I can achieve what I want with using some thing like dialog flow and not to build it from scratch?










      share|improve this question















      I am so confused. I want to build a chatbot like Siri but for my own tasks. It should be able to :
      - search on the internet and get answers of questions .
      - give people specific information daily.
      - discuss with people some scientific phenomenas.



      I can't determine what platform should I use to build this chatbot . I thought about using Dialog flow but I can't figure out if it will give me the ability to do that or no. Also I thought about using tensor flow but I think that it will take a very long time so I was wondering if I can achieve what I want with using some thing like dialog flow and not to build it from scratch?







      tensorflow dialogflow chatbot assistant






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 22 at 16:37









      Michal Bida

      1,003322




      1,003322










      asked Nov 21 at 14:09









      Mostafa

      144




      144
























          2 Answers
          2






          active

          oldest

          votes

















          up vote
          -1
          down vote













          Actually in my opinion, DialogFlow is the best option to build an assistant, it is really easy to build a chatbot to save reminders, to check the weather or to have a simple conversation. DialogFlow has a really powerful tool called webhook that uses Cloud Functions to do the real programming, for example, call google APIs, such as Translate API, or insert data in your Cloud SQL database.



          Also, DialogFlow use Machine Learning algorithms to understand the customer, for example, if the client says: "What's the weathe in Barcelona?" It will answer the question correctly.



          Another great feature is that it is integrated with multiple technologies, such as, Google Assistant, Amazon Alexa, Cortana, Telegram, Line, Facebook Messenger, etc.



          I recommend you to follow this tutorial.






          share|improve this answer





















          • Will dialog flow gives me the ability to do the three things I mentioned above?
            – Mostafa
            Nov 21 at 15:55










          • @Mostafa - Search on the internet and get answers of questions. You can do it using this API: products.wolframalpha.com/short-answers-api/documentation
            – Alex Riquelme
            Nov 21 at 16:21












          • @Mostafa - Give people specific information daily. Which type of information? the weather for example? or the time they will need to go to work? you can use this for the first option: openweathermap.org/api and this for the second: developers.google.com/maps/documentation/javascript/tutorial
            – Alex Riquelme
            Nov 21 at 16:22










          • @Mostafa - discuss with people some scientific phenomenons. Well, with who you want to discuss the phenomenons? if it's the DialogFlow chat, you can use the first API that I referenced and then, do a follow-up intent to reply to your second interaction using a DialogFlow context.
            – Alex Riquelme
            Nov 21 at 16:22










          • @Mostafa Did my comments addressed your question?
            – Alex Riquelme
            Nov 22 at 15:39


















          up vote
          -1
          down vote













          Luis from Microsoft and DialogFlow from Google allow you to build models for natural language processing. These models need to be trained. So the answer is "no", out of the box, these tools do not "search the internet" to discover answers for your intents.



          What you need to do is figure out how to train a natural language model, and integrate search data therein. This is bleeding edge AI. And this really is your question; "How do I integrate search with NLP and/or chatbot?"



          Both Google and Microsoft let you hook into search. You do not need the dialog tools to do this; you can just pass the query text to do the searching (and let the engine use both ML and heuristic methods to rank results). You mentioned IBM Watson and this is a tool that uses ML modelling to try and answer QnA questions. The Google competition is DeepMind. You can check out those yourself.



          But I believe curated content is often the way to go. Tools like Microsoft's QnA Maker let you build these types of applications very easily with little programming required. You can also look into the Azure or Bing search APIs.



          And if you are looking to start with a bot from template, there are tons of examples on GitHub for Azure Bot Service and Actions-on-Google. Some even integrate with search and QnA tools. :-)



          (And here is the disclaimer. I work for Microsoft. My views do not represent that of my employer.)






          share|improve this answer























            Your Answer






            StackExchange.ifUsing("editor", function () {
            StackExchange.using("externalEditor", function () {
            StackExchange.using("snippets", function () {
            StackExchange.snippets.init();
            });
            });
            }, "code-snippets");

            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "1"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53413921%2fcan-i-build-my-custom-ai-assistant-using-dialog-flow%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            -1
            down vote













            Actually in my opinion, DialogFlow is the best option to build an assistant, it is really easy to build a chatbot to save reminders, to check the weather or to have a simple conversation. DialogFlow has a really powerful tool called webhook that uses Cloud Functions to do the real programming, for example, call google APIs, such as Translate API, or insert data in your Cloud SQL database.



            Also, DialogFlow use Machine Learning algorithms to understand the customer, for example, if the client says: "What's the weathe in Barcelona?" It will answer the question correctly.



            Another great feature is that it is integrated with multiple technologies, such as, Google Assistant, Amazon Alexa, Cortana, Telegram, Line, Facebook Messenger, etc.



            I recommend you to follow this tutorial.






            share|improve this answer





















            • Will dialog flow gives me the ability to do the three things I mentioned above?
              – Mostafa
              Nov 21 at 15:55










            • @Mostafa - Search on the internet and get answers of questions. You can do it using this API: products.wolframalpha.com/short-answers-api/documentation
              – Alex Riquelme
              Nov 21 at 16:21












            • @Mostafa - Give people specific information daily. Which type of information? the weather for example? or the time they will need to go to work? you can use this for the first option: openweathermap.org/api and this for the second: developers.google.com/maps/documentation/javascript/tutorial
              – Alex Riquelme
              Nov 21 at 16:22










            • @Mostafa - discuss with people some scientific phenomenons. Well, with who you want to discuss the phenomenons? if it's the DialogFlow chat, you can use the first API that I referenced and then, do a follow-up intent to reply to your second interaction using a DialogFlow context.
              – Alex Riquelme
              Nov 21 at 16:22










            • @Mostafa Did my comments addressed your question?
              – Alex Riquelme
              Nov 22 at 15:39















            up vote
            -1
            down vote













            Actually in my opinion, DialogFlow is the best option to build an assistant, it is really easy to build a chatbot to save reminders, to check the weather or to have a simple conversation. DialogFlow has a really powerful tool called webhook that uses Cloud Functions to do the real programming, for example, call google APIs, such as Translate API, or insert data in your Cloud SQL database.



            Also, DialogFlow use Machine Learning algorithms to understand the customer, for example, if the client says: "What's the weathe in Barcelona?" It will answer the question correctly.



            Another great feature is that it is integrated with multiple technologies, such as, Google Assistant, Amazon Alexa, Cortana, Telegram, Line, Facebook Messenger, etc.



            I recommend you to follow this tutorial.






            share|improve this answer





















            • Will dialog flow gives me the ability to do the three things I mentioned above?
              – Mostafa
              Nov 21 at 15:55










            • @Mostafa - Search on the internet and get answers of questions. You can do it using this API: products.wolframalpha.com/short-answers-api/documentation
              – Alex Riquelme
              Nov 21 at 16:21












            • @Mostafa - Give people specific information daily. Which type of information? the weather for example? or the time they will need to go to work? you can use this for the first option: openweathermap.org/api and this for the second: developers.google.com/maps/documentation/javascript/tutorial
              – Alex Riquelme
              Nov 21 at 16:22










            • @Mostafa - discuss with people some scientific phenomenons. Well, with who you want to discuss the phenomenons? if it's the DialogFlow chat, you can use the first API that I referenced and then, do a follow-up intent to reply to your second interaction using a DialogFlow context.
              – Alex Riquelme
              Nov 21 at 16:22










            • @Mostafa Did my comments addressed your question?
              – Alex Riquelme
              Nov 22 at 15:39













            up vote
            -1
            down vote










            up vote
            -1
            down vote









            Actually in my opinion, DialogFlow is the best option to build an assistant, it is really easy to build a chatbot to save reminders, to check the weather or to have a simple conversation. DialogFlow has a really powerful tool called webhook that uses Cloud Functions to do the real programming, for example, call google APIs, such as Translate API, or insert data in your Cloud SQL database.



            Also, DialogFlow use Machine Learning algorithms to understand the customer, for example, if the client says: "What's the weathe in Barcelona?" It will answer the question correctly.



            Another great feature is that it is integrated with multiple technologies, such as, Google Assistant, Amazon Alexa, Cortana, Telegram, Line, Facebook Messenger, etc.



            I recommend you to follow this tutorial.






            share|improve this answer












            Actually in my opinion, DialogFlow is the best option to build an assistant, it is really easy to build a chatbot to save reminders, to check the weather or to have a simple conversation. DialogFlow has a really powerful tool called webhook that uses Cloud Functions to do the real programming, for example, call google APIs, such as Translate API, or insert data in your Cloud SQL database.



            Also, DialogFlow use Machine Learning algorithms to understand the customer, for example, if the client says: "What's the weathe in Barcelona?" It will answer the question correctly.



            Another great feature is that it is integrated with multiple technologies, such as, Google Assistant, Amazon Alexa, Cortana, Telegram, Line, Facebook Messenger, etc.



            I recommend you to follow this tutorial.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Nov 21 at 15:31









            Alex Riquelme

            40218




            40218












            • Will dialog flow gives me the ability to do the three things I mentioned above?
              – Mostafa
              Nov 21 at 15:55










            • @Mostafa - Search on the internet and get answers of questions. You can do it using this API: products.wolframalpha.com/short-answers-api/documentation
              – Alex Riquelme
              Nov 21 at 16:21












            • @Mostafa - Give people specific information daily. Which type of information? the weather for example? or the time they will need to go to work? you can use this for the first option: openweathermap.org/api and this for the second: developers.google.com/maps/documentation/javascript/tutorial
              – Alex Riquelme
              Nov 21 at 16:22










            • @Mostafa - discuss with people some scientific phenomenons. Well, with who you want to discuss the phenomenons? if it's the DialogFlow chat, you can use the first API that I referenced and then, do a follow-up intent to reply to your second interaction using a DialogFlow context.
              – Alex Riquelme
              Nov 21 at 16:22










            • @Mostafa Did my comments addressed your question?
              – Alex Riquelme
              Nov 22 at 15:39


















            • Will dialog flow gives me the ability to do the three things I mentioned above?
              – Mostafa
              Nov 21 at 15:55










            • @Mostafa - Search on the internet and get answers of questions. You can do it using this API: products.wolframalpha.com/short-answers-api/documentation
              – Alex Riquelme
              Nov 21 at 16:21












            • @Mostafa - Give people specific information daily. Which type of information? the weather for example? or the time they will need to go to work? you can use this for the first option: openweathermap.org/api and this for the second: developers.google.com/maps/documentation/javascript/tutorial
              – Alex Riquelme
              Nov 21 at 16:22










            • @Mostafa - discuss with people some scientific phenomenons. Well, with who you want to discuss the phenomenons? if it's the DialogFlow chat, you can use the first API that I referenced and then, do a follow-up intent to reply to your second interaction using a DialogFlow context.
              – Alex Riquelme
              Nov 21 at 16:22










            • @Mostafa Did my comments addressed your question?
              – Alex Riquelme
              Nov 22 at 15:39
















            Will dialog flow gives me the ability to do the three things I mentioned above?
            – Mostafa
            Nov 21 at 15:55




            Will dialog flow gives me the ability to do the three things I mentioned above?
            – Mostafa
            Nov 21 at 15:55












            @Mostafa - Search on the internet and get answers of questions. You can do it using this API: products.wolframalpha.com/short-answers-api/documentation
            – Alex Riquelme
            Nov 21 at 16:21






            @Mostafa - Search on the internet and get answers of questions. You can do it using this API: products.wolframalpha.com/short-answers-api/documentation
            – Alex Riquelme
            Nov 21 at 16:21














            @Mostafa - Give people specific information daily. Which type of information? the weather for example? or the time they will need to go to work? you can use this for the first option: openweathermap.org/api and this for the second: developers.google.com/maps/documentation/javascript/tutorial
            – Alex Riquelme
            Nov 21 at 16:22




            @Mostafa - Give people specific information daily. Which type of information? the weather for example? or the time they will need to go to work? you can use this for the first option: openweathermap.org/api and this for the second: developers.google.com/maps/documentation/javascript/tutorial
            – Alex Riquelme
            Nov 21 at 16:22












            @Mostafa - discuss with people some scientific phenomenons. Well, with who you want to discuss the phenomenons? if it's the DialogFlow chat, you can use the first API that I referenced and then, do a follow-up intent to reply to your second interaction using a DialogFlow context.
            – Alex Riquelme
            Nov 21 at 16:22




            @Mostafa - discuss with people some scientific phenomenons. Well, with who you want to discuss the phenomenons? if it's the DialogFlow chat, you can use the first API that I referenced and then, do a follow-up intent to reply to your second interaction using a DialogFlow context.
            – Alex Riquelme
            Nov 21 at 16:22












            @Mostafa Did my comments addressed your question?
            – Alex Riquelme
            Nov 22 at 15:39




            @Mostafa Did my comments addressed your question?
            – Alex Riquelme
            Nov 22 at 15:39












            up vote
            -1
            down vote













            Luis from Microsoft and DialogFlow from Google allow you to build models for natural language processing. These models need to be trained. So the answer is "no", out of the box, these tools do not "search the internet" to discover answers for your intents.



            What you need to do is figure out how to train a natural language model, and integrate search data therein. This is bleeding edge AI. And this really is your question; "How do I integrate search with NLP and/or chatbot?"



            Both Google and Microsoft let you hook into search. You do not need the dialog tools to do this; you can just pass the query text to do the searching (and let the engine use both ML and heuristic methods to rank results). You mentioned IBM Watson and this is a tool that uses ML modelling to try and answer QnA questions. The Google competition is DeepMind. You can check out those yourself.



            But I believe curated content is often the way to go. Tools like Microsoft's QnA Maker let you build these types of applications very easily with little programming required. You can also look into the Azure or Bing search APIs.



            And if you are looking to start with a bot from template, there are tons of examples on GitHub for Azure Bot Service and Actions-on-Google. Some even integrate with search and QnA tools. :-)



            (And here is the disclaimer. I work for Microsoft. My views do not represent that of my employer.)






            share|improve this answer



























              up vote
              -1
              down vote













              Luis from Microsoft and DialogFlow from Google allow you to build models for natural language processing. These models need to be trained. So the answer is "no", out of the box, these tools do not "search the internet" to discover answers for your intents.



              What you need to do is figure out how to train a natural language model, and integrate search data therein. This is bleeding edge AI. And this really is your question; "How do I integrate search with NLP and/or chatbot?"



              Both Google and Microsoft let you hook into search. You do not need the dialog tools to do this; you can just pass the query text to do the searching (and let the engine use both ML and heuristic methods to rank results). You mentioned IBM Watson and this is a tool that uses ML modelling to try and answer QnA questions. The Google competition is DeepMind. You can check out those yourself.



              But I believe curated content is often the way to go. Tools like Microsoft's QnA Maker let you build these types of applications very easily with little programming required. You can also look into the Azure or Bing search APIs.



              And if you are looking to start with a bot from template, there are tons of examples on GitHub for Azure Bot Service and Actions-on-Google. Some even integrate with search and QnA tools. :-)



              (And here is the disclaimer. I work for Microsoft. My views do not represent that of my employer.)






              share|improve this answer

























                up vote
                -1
                down vote










                up vote
                -1
                down vote









                Luis from Microsoft and DialogFlow from Google allow you to build models for natural language processing. These models need to be trained. So the answer is "no", out of the box, these tools do not "search the internet" to discover answers for your intents.



                What you need to do is figure out how to train a natural language model, and integrate search data therein. This is bleeding edge AI. And this really is your question; "How do I integrate search with NLP and/or chatbot?"



                Both Google and Microsoft let you hook into search. You do not need the dialog tools to do this; you can just pass the query text to do the searching (and let the engine use both ML and heuristic methods to rank results). You mentioned IBM Watson and this is a tool that uses ML modelling to try and answer QnA questions. The Google competition is DeepMind. You can check out those yourself.



                But I believe curated content is often the way to go. Tools like Microsoft's QnA Maker let you build these types of applications very easily with little programming required. You can also look into the Azure or Bing search APIs.



                And if you are looking to start with a bot from template, there are tons of examples on GitHub for Azure Bot Service and Actions-on-Google. Some even integrate with search and QnA tools. :-)



                (And here is the disclaimer. I work for Microsoft. My views do not represent that of my employer.)






                share|improve this answer














                Luis from Microsoft and DialogFlow from Google allow you to build models for natural language processing. These models need to be trained. So the answer is "no", out of the box, these tools do not "search the internet" to discover answers for your intents.



                What you need to do is figure out how to train a natural language model, and integrate search data therein. This is bleeding edge AI. And this really is your question; "How do I integrate search with NLP and/or chatbot?"



                Both Google and Microsoft let you hook into search. You do not need the dialog tools to do this; you can just pass the query text to do the searching (and let the engine use both ML and heuristic methods to rank results). You mentioned IBM Watson and this is a tool that uses ML modelling to try and answer QnA questions. The Google competition is DeepMind. You can check out those yourself.



                But I believe curated content is often the way to go. Tools like Microsoft's QnA Maker let you build these types of applications very easily with little programming required. You can also look into the Azure or Bing search APIs.



                And if you are looking to start with a bot from template, there are tons of examples on GitHub for Azure Bot Service and Actions-on-Google. Some even integrate with search and QnA tools. :-)



                (And here is the disclaimer. I work for Microsoft. My views do not represent that of my employer.)







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Nov 21 at 17:10

























                answered Nov 21 at 16:24









                Micromuncher

                463113




                463113






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Stack Overflow!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.





                    Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                    Please pay close attention to the following guidance:


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53413921%2fcan-i-build-my-custom-ai-assistant-using-dialog-flow%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Berounka

                    Different font size/position of beamer's navigation symbols template's content depending on regular/plain...

                    Sphinx de Gizeh