Jan 31, 2012

How to Create Your Own Custom Siri Conversations

Summary : By now you’ve probably heard of AssistantExtensions, it’s an amazing tweak in itself, and will likely garner numerous extensions and plugins to make it even more awesome than it currently is. But did you know that with the help of this tweak you can start creating your own custom conversations with Siri now?

  • PandaApp Editor
  • Current Device: HTC Chacha
  • Future Device: iPhone 5.6.7.8...iPad 2.3.4.5...
  • Introduction:Tracing new technology like fashion!

 
By now you’ve probably heard of AssistantExtensions, it’s an amazing tweak in itself, and will likely garner numerous extensions and plugins to make it even more awesome than it currently is. But did you know that with the help of this tweak you can start creating your own custom conversations with Siri now?
Inside, we’ll show you how to do just that; it’s not difficult, just follow a few easy steps.
Step 1: Install AssistantExtensions on your jailbroken device running Siri.
Step 2: Copy the following template to a text file. On a Mac you can just use TextEdit, or Notepad on Windows. Save the file with the aiml extension. e.g. idb.aiml.



<?xml version=”1.0″ encoding=”ISO-8859-1″?>
 <aiml>
 <category>
<pattern>YOUR CUSTOM SIRI QUESTION (MUST BE UPPERCASE)</pattern>
<template>your custom response (must be lowercase)</template>
</category>
 </aiml>

Pastie #3257275 linked directly from Pastie.
Step 3: SSH to your device, and copy your .aiml file to /Library/AssistantExtensions/aiml/ directory.
Step 4: Invoke Siri and say “Let’s Chat” Siri will then upload the contents of the aiml files contained within that directory into memory. After it finishes loading, you can ask your custom question and get a custom response.
Obviously this is a very rudimentary example for demonstrative purposes. If you want some more complex examples, head over to your /Library/AssistantExtensions/aiml/ directory on your device, and copy one of the other .aiml files to your desktop. This will allow you to see all of the valid tags, and methods to make your Siri conversations even deeper.
AIML stands for Artificial Intelligence Markup Language, an XML compliant language used to converse with software agents like Siri and others. To learn more about it and its various uses, I highly recommend you check out this website.
If you create any cool custom siri conversations, we urge you to upload them to YouTube and share in the comments. This should be interesting, will you give it a shot?
via idownloadblog

0 comments:

Post a Comment

Twitter Delicious Facebook Digg Stumbleupon Favorites More