Upgrade auf unsere Platinum service und lassen Sie uns bauen Sie Ihr bot für Sie
Bot Libre Forum

identify by category

durch bobred gepostet 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: 1610, today: 1, week: 4, month: 20

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: 1424, today: 1, week: 3, month: 14

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: 1540, today: 0, week: 6, month: 19

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: 1607, today: 2, week: 5, month: 17

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: 1, week: 4, 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: 1592, today: 1, week: 4, month: 17

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: 1620, today: 1, week: 3, month: 15

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: 1516, today: 1, week: 5, month: 20

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: 1507, today: 1, week: 5, month: 19

Id: 17009640
Gepostet: May 12 2017, 6:33
Antworten: 9
Ansichten: 1729, heute: 2, Woche: 9, Monat: 29
0 0 0.0/5