ご存知でしたボットのリブレー 3Dアバター 、無料のウェブ speech APIですか?
Bot Libre Forum

identify by category

による bobred 掲載 May 12 2017, 6:33

could i categories living things and non living things and then use that to find out if that object is a particular type of object?Like if for example i ask the chatbot,

Is a car a cat?The car would be in the nonliving category and the cat would be in the living category.And because of that the chatbot would answer no it is not.How would i do that?

 


by admin posted May 12 2017, 10:18
You would need to create a script in Self for this.

Self is a dialect of JavaScript and is object oriented and persistent, so make it easy to define complex data.

Here is an example script,
https://www.botlibre.com/script?id=17010244

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 1612, today: 0, week: 0, month: 22

by bobred posted May 12 2017, 11:01

Do i have to have learning enabled to use it in my chatbot?I want to see what it does. 


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 1426, today: 0, week: 0, month: 16

by bobred posted May 12 2017, 12:02

Your script only worked one time.And it then stopped.


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 1541, today: 0, week: 0, month: 20

by admin posted May 12 2017, 16:30
No, do not enable learning.

Your bot's issue is that you added the script last, and have the "Understanding" script that accepts the same patterns.

Either delete the Understanding script, or move the other script to be first.

Scripts are executed in the order you define them in.

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 1608, today: 0, week: 0, month: 18

by bobred posted May 12 2017, 16:53

It works now.I wanted to teach blair the chatbot like i would a person.I think it is close enough like this for now.


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 1581, today: 0, week: 0, month: 18

by bobred posted May 12 2017, 19:17

Why can't you put something like this into the chatbot.

http://www.independent.co.uk/news/science/new-artificial-intelligence-can-learn-how-to-play-vintage-video-games-from-scratch-10070155.html

IT would make it realer.


Updated: May 13 2017, 7:24
Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 1593, today: 0, week: 0, month: 18

by admin posted May 13 2017, 7:24
It is possible in Self to define a script for your bot to teach it to play a game. You can also utilize our command support to send commands back to a game client.

Here are some example text games,
https://www.botlibre.com/script?tag-filter=games

We are working on enhanced game integration and game artificial intelligence.

Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 1621, today: 0, week: 0, month: 16

by bobred posted May 13 2017, 8:26

I imported blackjack  game as a aiml script but it does not work for blair the chatbot.could you check her?when i type D nothing happens. 


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 1517, today: 0, week: 0, month: 21

by bobred posted May 13 2017, 10:48

I imported it wrong.Now it works.


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 1508, today: 0, week: 0, month: 20

Id: 17009640
掲載: May 12 2017, 6:33
回答: 9
眺望: 1730, 今日の: 1, 週間: 1, 月: 30
0 0 0.0/5