Does the Plum Voice Platform support mixed initiative?

Answers to common Plum DEV questions

Moderators: admin, support

  • Author
  • Message
Offline

support

  • Posts: 3627
  • Joined: Mon Jun 02, 2003 3:47 pm
  • Location: Boston, MA

Does the Plum Voice Platform support mixed initiative?

PostMon Jun 16, 2003 1:16 pm

The Plum Voice Platform currently does not support mixed initiative (as of release 2.4.1). However, that feature is expected to be implemented for the 2.4.2 release.
Offline

support

  • Posts: 3627
  • Joined: Mon Jun 02, 2003 3:47 pm
  • Location: Boston, MA

Update

PostSat Jul 31, 2004 6:55 pm

Plum does support limited mixed initiative grammars now. Here is a working example, using a jsgf grammar:

Code: Select all
<?xml version="1.0"?>
<vxml version="2.0">

<form id="initial_name">
<grammar type="application/x-jsgf">
 [from]
     ((New York) [New York]){from_city=New York, NY} |
      (Syracuse [New York]){from_city=Syracuse, NY} |
      (Orlando [Florida]){from_city=Orlando, FL'}   |
      ((Los Angeles [California]) | ELLAY){from_city=Los Angeles, CA} |
      (San Francisco [California]{from_city=San Francisco, CA} |
      (Denver [Colorado]){from_city=Denver, CO} |
      (Seattle [Washington]){from_city=Seattle, WA} |
      (Dallas [Texas]){from_city=Dallas, TX'} |
      (Houston [Texas]){from_city=Houston, TX})
</grammar>
<initial name="init">
   <prompt>
     Welcome to the Driving Directions By Phone.
     Where do you want to drive from and to?
   </prompt>
   <nomatch count="1">
      Please say something like "from Denver Colorado to Orlando Florida".
   </nomatch>
   <nomatch count="2">
     I'm sorry, I still don't understand.
     I'll ask you for information one piece at a time.
     <assign name="init" expr="true"/>
     <reprompt/>
   </nomatch>
</initial>

<field name="from_city">
   <grammar type="application/x-jsgf">
     [from]
     ((New York) [New York]){from_city=New York, NY} |
      (Syracuse [New York]){from_city=Syracuse, NY} |
      (Orlando [Florida]){from_city=Orlando, FL'}   |
      ((Los Angeles [California]) | ELLAY){from_city=Los Angeles, CA} |
      (San Francisco [California]{from_city=San Francisco, CA} |
      (Denver [Colorado]){from_city=Denver, CO} |
      (Seattle [Washington]){from_city=Seattle, WA} |
      (Dallas [Texas]){from_city=Dallas, TX'} |
      (Houston [Texas]){from_city=Houston, TX})
   </grammar>
   <prompt>From which city are you leaving?</prompt>
</field>

<field name="to_city">
   <grammar type="application/x-jsgf">
     [to]
     (((New York)|(Syracuse)) [New York]){to_city=New York, NY} |
      (Orlando [Florida]){to_city=Orlando, FL'}   |
      (Syracuse [New York]){to_city=Syracuse, NY} |
      ((Los Angeles [California]) | ELLAY){to_city=Los Angeles, CA} |
      (San Francisco [California]{to_city=San Francisco, CA} |
      (Denver [Colorado]){to_city=Denver, CO} |
      (Seattle [Washington]){to_city=Seattle, WA} |
      (Dallas [Texas]){to_city=Dallas, TX'} |
      (Houston [Texas]){to_city=Houston, TX})
   </grammar>
   <prompt>Which city are you going to?</prompt>
</field>

<filled>
   <prompt bargein="false">
     I think you said. From <value expr="from_city"/> to <value
expr="to_city"/>.

   </prompt>
</filled>
</form>

</vxml>

Return to Plum DEV FAQs

Who is online

Users browsing this forum: No registered users and 1 guest

cron