How To Teach Siri the Answers To Your Questions

How To Teach Siri the Answers To Your Questions

Jan 29, 2012

13 Flares Facebook 4 Google+ 2 Twitter 3 StumbleUpon 1 LinkedIn 3 Filament.io -- 13 Flares ×

In our previous post about a plugin called AssistantExtensions that enhances Siri’s capability, we mention that you can actually teach Siri the answers to some of the questions that could really impress your friends. All you need is a jailbroken iPhone 4S, OpenSSH installed and AssistantExtensions plugin. You will also need to edit or create some files similar to XML files and put it in a specific directory in your iPhone 4S. The file which is an XML compliant language is called AIML which stands for Artificial Intelligence Markup Language. If you want to learn more about AIML be sure to visit this site – http://www.alicebot.org/aiml.html.

Basically what you will do is to create an AIML file (*.aiml) that contains the question/answer information and transfer it back to your jailbroken iPhone 4S via SSH. Siri will load that file and you can try to ask questions that is included in the AIML file to test whether Siri can answer it correctly. Let’s get started. Don’t worry the steps are easy. For the SSH part, there’s a video that you can watch to follow the steps involved.

1x1.trans How To Teach Siri the Answers To Your Questions

Siri – Digital Assistant built into Apple products

Things to do:

  • Install AssistantExtensions on your jailbroken iPhone 4S.
  • Copy the AIML file template below and save the file with a file extension of *.aiml. You can name the file anything that you want. For example: kompyuteran.aiml
  • Make an SSH connection with your iPhone 4S and copy the *.aiml file to /Library/AssistantExtensions/aiml/ directory.
  • Launch Siri and say ‘Let’s Chat’ to begin with your conversation with Siri. Test Siri by asking questions that you put into the AIML file and see if you can get the correct response.
<--! sample AIML file -->
<xml version="1.0" encoding="ISO-8859-1"?>
 <aiml>
  <category>
   <pattern>THE QUESTION YOU WANT TO ASK SIRI IN UPPER CASE</pattern>
   <template>the answer you want siri to give in lower case</template>
  </category>
 </aiml>

If you don’t like to use OpenSSH to transfer file from your computer to your iPhone 4S, you can try using DiskAid. But if you prefer SSH the video below will teach you how to install and use OpenSSH on your device.

If you want to know more about the AIML tags and different style that you can do in creating a particular question/answer knowledge base for Siri, just head over to the ‘aiml’ directory and copy one of the file that already exists there. Inspect the different tags used and test whether it will work on your next AIML file

For a deeper knowledge about AIML, be sure to check the website we provided above. If it happens that you created a cool AIML file, we suggest that you share it with us by providing us the link to the file that you created. Sounds fun right? Good Luck!

–source idownloadblog



Incoming search terms:

how to teach siri responses, what can i do to get siri to answer correctly


Leave a Reply