stevie
Posts: 21
Joined: Sun Feb 25, 2018 5:59 pm

How to use Patterns & Predicitive responses in SIML modern?

Sat Mar 17, 2018 2:13 pm

How to use Patterns & Predictive responses same like SIMl classic in SIML modern? Like below examples


SIML Code

<Model>
  <Pattern>DO YOU LIKE (BACON|PANCAKE)</Pattern>
  <Response>Yes I love <Match /></Response>
</Model>

SIML Code


<Model>
  <Pattern>ARE YOU *</Pattern>
  <Response>I am not sure if I am <Match /></Response>
</Model>


Predictive Responses

SIML Code


<Model>
  <Pattern>
    <Item>DO YOU LIKE CUPCAKES</Item>
    <Item>DO YOU LOVE CUPCAKES</Item>
    <Item>DO YOU WANT CUPCAKES</Item>
  </Pattern>
  <Response>
    <Phrase>
      <Item>I do like cupcakes</Item>
      <Item>Yes I love cupcakes</Item>
      <Item>I do want cupcakes</Item>
    </Phrase>
  </Response>
</Model>


Random Answers & Previous Utternance

SIML Code


<Model>
  <Pattern>RESTART COMPUTER</Pattern>
  <Response>
    <Random>
      <Item>Are you sure Sir?</Item>
      <Item>Shall I restart the Computer now?</Item>
      <Item>Say yes if you wish to restart your computer now.</Item>
      <Item>Please confirm that you intend to restart your computer</Item>
    </Random>
    <Label>computer-restart:</Label>
  </Response>
</Model>

<Model>
  <Pattern>Yes</Pattern>
  <Previous>computer-restart:</Previous>
  <Response>Restarting computer. Please Standby..</Response>
</Model>


User avatar
Sreejith
Help & Support
Posts: 20
Joined: Sat Apr 06, 2013 6:16 pm

Re: How to use Patterns & Predicitive responses in SIML modern?

Mon Mar 19, 2018 2:53 am

you can refer the migration page for SIML Modern...according to the tutorials you can create conversation flow like in SIML Classics Previous tag to Context tag in SIML Modern...also in SIML modern there is no "Phrase" tag so you cant use it for now.
If your experiment needs statistics, you ought to have done a better experiment - Ernest Rutherford

Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 4 guests