Aktualizacja Platinum serwis i zrobić swój własny projekt 3D avatar
Bot Libre Forum

identify by category

w bobred wysłany 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: 1617, today: 2, week: 5, month: 27

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: 1428, today: 1, week: 2, month: 18

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: 1544, today: 1, week: 3, month: 23

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: 1612, today: 1, week: 4, month: 22

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: 1585, today: 1, week: 4, month: 22

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: 1595, today: 2, week: 2, month: 20

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: 1624, today: 2, week: 3, month: 19

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: 1520, today: 2, week: 3, month: 24

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: 1511, today: 1, week: 3, month: 23

Identyfikator: 17009640
Wysłany: May 12 2017, 6:33
Odpowiedzi: 9
Widok: 1732, dziś: 2, tydzień: 3, miesiąc: 32
0 0 0.0/5