Skip to content

Commit

Permalink
Updated report with works-by flow and new references.
Browse files Browse the repository at this point in the history
  • Loading branch information
Claudio Scalzo committed Jun 21, 2018
1 parent 07af98c commit 2475ea6
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 6 deletions.
9 changes: 7 additions & 2 deletions final-report/dialogflow.tex
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ \chapter{Dialogflow}
They are "containers" in which all the entities and parameters of the conversation are stored. They are fundamental to keep the informations through the conversational flow and make possible the "slot-filling".
\end{itemize}
One of the most powerful aspects of \textit{Dialogflow} is the support for slot-filling. It is a technique that lets users to specify details (necessary or not) in different phases of the conversation: this means that the bot can go ahead and keep asking more details to the user before answering the query. Let's make an example:

\begin{verse}
\textit{Please give me 2 works} - \textbf{User}\\
\textit{You told me few filters. Do you want to add something?} - \textbf{Bot}\\
Expand All @@ -42,4 +41,10 @@ \chapter{Dialogflow}
...\\
\end{verse}
This result is obtained thanks to the "required" entity: in the \textit{Dialogflow} UI (and of course, in the JSON file of the intent) it's possibile to specify some fields that are required in order to consider the intent as completed. The bot will provide the final answer of the user's request if and only if all the required slot have been filled! This means that the conversation can go over and over until these informations are provided.\\\\
The power of \textit{Dialogflow} so, is heavily based on slot-filling. It is able to keep the informations through all the flow of the conversation
The power of \textit{Dialogflow} so, is heavily based on slot-filling, being able to keep the informations through all the flow of the conversation. The flow of our \texttt{works-by} intent has been structured as the following picture shows, and is heavily based on active context, instead of nested follow-up intents\cite{loops}:
\begin{figure}[H]
\centering
\includegraphics[scale=0.2]{flow}
\caption{Flow of the \texttt{works-by} intent, using the active contexts technique.\cite{loops}}.
\end{figure}

Binary file added final-report/images/flow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions final-report/references.tex
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
\bibitem{luis} Microsoft LUIS: A machine learning-based service to build natural language into apps, bots, and IoT devices. | \textit{\href{https://www.luis.ai/}{https://www.luis.ai/}}
\bibitem{recast} SAP Recast.ai: A collaborative bot platform. | \textit{\href{https://recast.ai/}{https://recast.ai/}}
\bibitem{apiai} Chatbots made easy with Dialogflow. An overview on the architecture. | \textit{\href{https://blog.huhtanen.eu/2017/10/15/chatbots-made-easy-dialog-flow.html}{https://blog.huhtanen.eu/2017/10/15/chatbots-made-easy-dialog-flow.html}}
\bibitem{loops} When not to use follow up intents in Dialogflow. | \textit{\href{https://miningbusinessdata.com/not-use-follow-intents-api-ai}{https://miningbusinessdata.com/not-use-follow-intents-api-ai}}
\bibitem{bmd} The GitHub repository of the Botkit middleware for Dialogflow. | \textit{\href{https://github.com/jschnurr/botkit-middleware-dialogflow}{https://github.com/jschnurr/botkit-middleware-dialogflow}}
\bibitem{pr1} First pull request: "Added capability to change language in Dialogflow" | \textit{\href{https://github.com/jschnurr/botkit-middleware-dialogflow/pull/10}{https://github.com/jschnurr/botkit-middleware-dialogflow/pull/10}}
\bibitem{pr2} Second pull request: "The sessionID is set to message.user, to have a separate session for each user" | \textit{\href{https://github.com/jschnurr/botkit-middleware-dialogflow/pull/11}{https://github.com/jschnurr/botkit-middleware-dialogflow/pull/11}}
Expand Down
12 changes: 8 additions & 4 deletions final-report/report.aux
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@
\@writefile{toc}{\contentsline {section}{\numberline {3.2}How does it work?}{13}{section.3.2}}
\@writefile{lof}{\contentsline {figure}{\numberline {3.1}{\ignorespaces Architecture of a generic system using \textit {Dialogflow}\cite {apiai}}}{14}{figure.3.1}}
\@writefile{toc}{\contentsline {section}{\numberline {3.3}Fundamental concepts}{14}{section.3.3}}
\citation{loops}
\citation{loops}
\@writefile{lof}{\contentsline {figure}{\numberline {3.2}{\ignorespaces Flow of the \texttt {works-by} intent, using the active contexts technique.\cite {loops}}}{15}{figure.3.2}}
\citation{bmd}
\@writefile{toc}{\contentsline {chapter}{\numberline {4}The bot}{16}{chapter.4}}
\@writefile{lof}{\addvspace {10\p@ }}
Expand Down Expand Up @@ -108,8 +111,9 @@
\bibcite{luis}{{13}{}{{}}{{}}}
\bibcite{recast}{{14}{}{{}}{{}}}
\bibcite{apiai}{{15}{}{{}}{{}}}
\bibcite{bmd}{{16}{}{{}}{{}}}
\bibcite{pr1}{{17}{}{{}}{{}}}
\bibcite{pr2}{{18}{}{{}}{{}}}
\bibcite{fade}{{19}{}{{}}{{}}}
\bibcite{loops}{{16}{}{{}}{{}}}
\bibcite{bmd}{{17}{}{{}}{{}}}
\bibcite{pr1}{{18}{}{{}}{{}}}
\bibcite{pr2}{{19}{}{{}}{{}}}
\bibcite{fade}{{20}{}{{}}{{}}}
\providecommand\NAT@force@numbers{}\NAT@force@numbers
Binary file modified final-report/report.pdf
Binary file not shown.
Binary file modified final-report/report.synctex.gz
Binary file not shown.

0 comments on commit 2475ea6

Please sign in to comment.