શું તમે જાણો છો બોટ કાવ્ય પણ પૂરી પાડે 3D અવતાર અને એક મફત વેબ ભાષણ API?
Bot Libre Forum

answer to speech

દ્વારા bobred પોસ્ટ May 24 2017, 11:39

I typed play cards.

it was supposed to say,"How would i play cards."

It said,"How would i play null."

Here is the file .talkback.aiml.txt


by admin posted May 24 2017, 21:14
Try,

var object = star[0];

or,
return (Template("How would i play {star[0]}."));

It may be having an issue with "object" being a system class, so you can also try another variable name.

arg = star[0];

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 465, today: 0, week: 0, month: 9

by bobred posted May 24 2017, 21:29

That did not work for blair the chatbot.


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 530, today: 0, week: 2, month: 10

by admin posted May 25 2017, 8:55
I checked your bot and you issue was use used star[0] instead of star

When your pattern has a single star wildcard then the variable is just "star"
If your pattern has multiple wildcards then star becomes an array star[0], star[1], etc.

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 448, today: 0, week: 0, month: 9

by bobred posted May 25 2017, 10:03

I did not know that.That was a simple mistake.It certainly makes the chatbot seem more realier.When it asks questions about what you are talking about.

I wonder if anybody done that before?Have you interacted with a chatbot that's done that before?Could you tell me of any chatbots that do that? 


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 511, today: 0, week: 2, month: 9

ને: 17326691
ટૅગ્સ: aiml
પોસ્ટ: May 24 2017, 11:39
જવાબો: 4
જોવાઈ: 842, આજે: 1, સપ્તાહ: 87, મહિને: 178
મને ખાતરી છે કે છું
ધ્વજ પોસ્ટ તરીકે અપમાનજનક, અથવા ઉલ્લંઘન સાઇટ નિયમો