The shoutbox is currently out of service. Join us on Discord instead.

Jarvis Artificial Intelligence

Started by alexgt, March 17, 2015, 09:45:11 pm

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

alexgt

This is a AI system made in Ti-Basic http://www.ticalc.org/archives/files/fileinfo/463/46329.html. I am working on an Axe version of this but it is not along enough to post. Anyways here is what the Axe version should do (except it will run faster and have gazillions of features (hopefully)). Also how do you show screenshots / gifs because I don't know how THX  ;).

CKH4

Sounds like a cool project. To get gifs and such you need to pick your favorite image uploder and upload your image. I use imgur.com. Then put your direct image URL into [img][/img].


alexgt

March 17, 2015, 09:59:36 pm #2 Last Edit: March 17, 2015, 10:01:20 pm by alexgt
Thanks for the tip here is the gif (I forgot to mention the password is 1234567890.(-)+)

EDIT: Wouldn't an instant response to the longer interactions be awesome with Axe

CKH4

Is it exact or does it recognize words? Also word wrapping would be cool instead of the current letter wrapping.


alexgt

March 17, 2015, 10:10:32 pm #4 Last Edit: March 17, 2015, 10:12:45 pm by alexgt
It recognizes words and individual commands by putting the getkey val into a list and then reading the list (looking for spaces that separate words) them displays text from that val. In the Readme there are all the different combos and what words are needed for the response. ( there are some buggy responses because of conflicting values but those will be fixed when I get around to it in axe). As for the word wrap (it only goes two lines) it will hopefully be made in Axe but it would be too slow in Basic :).

EDIT: For Axe all I have is beeing able to type in letters and a space (I started it at school and did the typing on the bus)

LD Studios

This reminds me of An old project of mine.
I would definitely recommend adding a learning functionality or it will get boring quickly. I never added as much to this project as I hoped to, but since it learns from your responses, it can still be interesting to use.



Snektron

Add voice recognition! "Okay, TI, calculate 2x+10=3"
Okay maybe not they would get instandly banned in most countys <_<
Cool project though :D
Legends say if you spam more than DJ Omnimaga, you will become a walrus...


alexgt

March 17, 2015, 10:29:07 pm #7 Last Edit: March 17, 2015, 10:33:01 pm by alexgt
Yes, that would be awesome if it made Artificially Intelligent comments (no pun intended) but the problem occurs when I would try to implement it (you would need a dictionary or some way to understand what you say). I try to fix this by making it respond to many words, The gif that I provided showcased a program that was far from complete and the reason I discontinued the Basic not the Axe version was because the more responses I made the slower it would get. Thanks for the feed back though  :).

CKH4

That kind of solver is possible though ( I think ) using the sub command.


alexgt

i use the sub() command but that is for the key inputs i do intend to have two modes for the Axe version though the first being the nice clean GUI mode like Win 7 or something (i plan to implement sounds like a click for the mouse). The next mode would be the command prompt like the one you see.

LD Studios

A very simple learning mechanism should be easy to implement:

-Analyze the phrase that the AI last said as if the user said it
-Add the user's response to a list of responses for that type of phrase

It won't always work perfectly, but it will make sense most of the time, and sometimes the randomness it creates can be funny



DJ Omnimaga

Hiya and welcome to the forums alexgt!

I am interested in how this AI will go, since I always wondering how capable a chat bot or something similar could be on a calculator. :)

alexgt

March 17, 2015, 11:03:58 pm #12 Last Edit: March 17, 2015, 11:55:16 pm by alexgt
THanks DJ and LD. Anyways the advice is great for the response system I will try to implement it some time in the future! Tomorrow I should release the source (you will see clearly that i code like basic and that it is far from optimized because I am new with Axe). Help would be appreciated with optimization and hard-coded responses.

EDIT: Working on Homework I don't think I can work on it much but here is what I got so far (there is no backspace implemented yet) :blah:

EDIT: I think I will try to make this into a shell kind of so you could execute programs with "/execute prgmNAME" or "/prgmNAME" if someone knows how to do so in Axe it would be nice to know

DJ Omnimaga

I'll give this a try later when I have a chance. I wish you good luck for future updates, especially if you plan to make the bot learn.

alexgt

March 18, 2015, 12:14:13 am #14 Last Edit: March 18, 2015, 12:17:48 am by alexgt
will try, thanks!
DJ have you played Unturned on Steam it is based in Canada and it is free :D

Powered by EzPortal