jlucben
Pro
Posts: 27
Joined: Wed Oct 12, 2016 1:54 pm

HOW is Working the Random Responses Settings In Syn Bot Stud

Sun Oct 23, 2016 6:07 pm

Hi
In Random Responses Settings I define

<Random Name="Greet">
<Item>Hi there!</Item>
<Item>Well, hello there!</Item>
<Item>Hi</Item>
<Item>Long time no see</Item>
<Item>Hey</Item>
<Item>What's up</Item>
<Item>How are you today?</Item>
</Random>

In my Bot :

<Concept Name="Introduction">

<Model>
<Pattern>HELLO ASSISTANT</Pattern>
<Response>
[Greet]
</Response>
</Model>

</Concept>

The result is not as expected : [Greet]

How can we refer to the Random Response settings ?

Thanks for your help

Jean-Luc

jlucben
Pro
Posts: 27
Joined: Wed Oct 12, 2016 1:54 pm

Re: HOW is Working the Random Responses Settings In Syn Bot

Sun Oct 23, 2016 7:24 pm

Hi All is working fine with the code below but documentation is very unclear ....

<Concept Name="Introduction">

<Model>
<Pattern>HELLO ASSISTANT</Pattern>
<Response>
<Random Get="Greet"></Random>
</Response>
</Model>

</Concept>

JeffersonStack
Pro
Posts: 44
Joined: Fri Apr 05, 2013 1:20 am

Re: HOW is Working the Random Responses Settings In Syn Bot

Mon Oct 24, 2016 8:17 am

try my code :)

Random.siml

SIML Code

<Siml>
  <Random Name="Greet">
    <Item>Hi there!</Item>
    <Item>Well, hello there!</Item>
    <Item>Hi</Item>
    <Item>Long time no see</Item>
    <Item>Hey</Item>
    <Item>What's up</Item>
    <Item>How are you today?</Item>
  </Random>
</Siml>
Introduction.siml

SIML Code

<Siml>
  <Concept Name="Introduction">
    
    <Model>
      <Pattern>HELLO ASSISTANT</Pattern>
      <Response>
        <Random Get="Greet" />
      </Response>
    </Model>
    
  </Concept>
</Siml>

Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 1 guest