NEW Machine Learning Vector Matrix Library V.2, Chat Module, Awareness/Emotion Modules Linked [Open Sourced]

It’s feed data through Artificial intelligence models, its awareness module that constructs worded observations of distance size orientation. (its surroundings) and prompts from the player. This system runs locally so it’s instant except for server AI API calls. Which yield the result. It’s basically a overpowered multi model AI. It’s off ROBLOX equivalent would be akin to a Chatbot that can use whatever AI model you ask it to something like Poe.AI

2 Likes

Ah I was a bit interesting. But couldn’t you scrape data from websites w a web scraper and feed them to the AI?

1 Like

I was just testing it and talking to A character named Witch Hunter who was telling me about the Dark Witch

2 Likes

I do I scrape data from wikipedia and AI models! I also have been working on my API library but currently I’ve explored what I needed to if you are interested I can link you to my open source documentation of all the free APIS I found that you can use to create a more sophisticated chatbot that scrapes more data. But overall A GPT4 solution would be fine. But the main point of this is to reduce cost of utilizing AI APIs.

2 Likes

Ah okay cool. I was just asking that because I was planning to write a web scraper in JS.

1 Like

I did hours of research and compiled all of the free API services on this link
Artificial Intelligence Model APIs FREE (Open Source) and Other Useful APIs - Resources / Community Resources - Developer Forum | Roblox

I was just thinking I could utilize the Chuck Norris jokes API to have my bot tell horrible flattering jokes about itself or the player

If you utilize the huggingface models create an account and click a random model click interference endpoint and deploy to get your free bearer key.

2 Likes

Their are some very good inference models on hugging face. for example you can use one model to generate an output like this from a name.


Then you can use a different model to creatively expand upon that idea.

Also this is how my chatmodule works by recognizing synoynms for the purpose of being a better conversational search algorithm for a bot.
image

2 Likes

I’m excited for this new thing I started creating yesterday. It was surprisingly easy. I’m new to machine learning though what do you think of the library so far? I tried keeping it comprehensive and coherent.

2 Likes

I’m ngl, I’m not good at math at all so I don’t know what’s going on lol.

Seems real complicated, so I’ll let the pros (you) do all that.

[Why would need the mean of something?

1 Like

The vector math library is emcompassed in its own module. To make it simple But basically it’s just like having a position and the x of the position determines its weight. the matrix math module is not explicity used for much yet I just wanted to write all this math to basically give different ways of calculating X which is the weight, Y is the repetition and X is the context loss or gain. The accuracy is determined by the chatmodule and rewards or takes weight away from x such as if you were to greet the bot greetings would be weighed less. But if you were searching wikipedia for something you would prioritize that submodel more. It’s basically just a Zero-classification model. If you were to use it it would be simple as having 10 labels. I will be simplifying it in the future! It would be useful for making combat AIs with predefined weights that adapt to combat scenarios.

2 Likes

Still don’t understand it, maybe I will in the future. Lol great job :clap:

1 Like

Okay so Vector3 is a position and these weights exist in 3D space like your brain and their x is the probability for that action= Vector matrix
so like if you have a combat dumby whos actions are attack() defend() and etc you can reward those weights and make adaptive behavior for any function determined by how it recieve rewards.
In this example they are the order of databases queried so it may provide most relevant responses.

2 Likes

Wait oh okay this makes a bit more sense.

It’s getting a bit more clear. Thanks for the explanation :slight_smile:

1 Like

Yes so the weight is just a big table to use for convienence and functionality. Setting it up may be tricky but you could always start with a blank slate! I just wanted to start with predefined weights. But This will be improved in functionality in the future. But the concept was escaping me too before yesterday and it just clicked.

2 Likes

Mhm. Do you have a lot of experience with this type of stuff? It seems like you’ve been working on this typa stuff for a while

1 Like

It’s just really simple stuff it’s a position in space and you adjust it. You can do it with blocks but I wanted to make this efficient so i used tables because I know that vectors3 are slower. The higher X is the most likely action. But a good model needs good input. My input for the model is generated by my chatmodule that outputs the accuracy of the response. this is used to adjust the weight of x along with the frequency of that database being accessed and each labels context function. So like you can set up los or gan for the context by being like hey if you get damaged you get los for attacking. or if you make successful hit you get gan.
I do everything! I make animations, photoshop, programming, prodeural world generation

1 Like

Wow you’ve got a huge skill set. in the future ima try to recreate what you jst did

1 Like

I’m glad to hear that! I’m really proud of the chatmodule I released it’s very useful and simple to use. All the function are set up to take the minimal variables but they look more complicated than they are.
They are also very efficient! I just updated it recently and the synonym and reflection retrieval is very useful.
I’ve seen other developers copying my source code not providing feedback and just making their own chatbots which is cool. :stuck_out_tongue: the only thing I haven’t open source is the personalities or my text data and the API structure.

Ran out of likes sadly but I’m happy you didn’t and was able to release this!

1 Like

if you’d be interested collaborating on something shoot me a DM on some ideas.
But yeah I have linked resources here that I released that you could use to create a sophisticated chatbot. You input A prompt and a context dataset to the completequery function (string,table)