Skip to content

HowTo Bot

rz91stud edited this page Jul 30, 2018 · 2 revisions

Welcome

If the NSpM and Telegram Sevices are working properly you should be able to talk to the Bot. The first time you start a conversation you will see the following welcome window.

Welcome

As you can see the Bot asks you to type the command /start. In Telegram commands are messages starting with "/". They can be defined by you.

Start

As return to your command you will get this window and the bot will tell you, which commands he understand. These are

  • /help
  • /ask
  • /query
  • /cat

supported commands

/help

When you type the command /help the bot will ask you where he can help you. You can decide weather you want to know how to ask a question or how to query by SPARQL. The bot will now answer with an alert window as seen in the next picture.

Help

/ask

If you want to ask the bot a question you will have to type the command /ask followed by your question. In this stage of progress you can only ask about monuments becaus the neurals net training data is about monuments. You will now get the answer and can decide weather you will store this answer and the corresponding question to training data or not.

ask

/query

To query by SPARQL you have to type /query followed by your SPARQL query. If everything works fine the bot will tell you the answer.

query

/cat

This command is a little gimmick i included because i wanted to know what Telegraf can do. You will have to try this with no further explanation.

Clone this wiki locally