#Ai

1 messages ยท Page 1 of 1 (latest)

haughty pivot
#

How can i store an ai memory to make it so that it can learn

grave minnowBOT
#

<@&987246964494204979> please have a look, thanks.

#

Here is an AI assisted attempt to answer your question ๐Ÿค–. Maybe it helps! In any case, a human is on the way ๐Ÿ‘. To continue talking to the AI, you can use </chatgpt:1108714622413963314>.

#
TJ-Bot
How can i store an ai memory to make it so that it can learn

You can store an AI's memory by using various data storage methods such as databases, files, or in-memory data structures. The key is to save the AI's knowledge and experiences in a format that allows it to learn and adapt over time.

One common approach is to use a database like MySQL or MongoDB to store the AI's memory. This allows you to easily query and retrieve information for the AI to learn from. You can also use files to store the AI's memory, either in plain text or serialized format for easy reading and writing.

In-memory data structures like hashmaps or lists can also be used to store the AI's memory temporarily during runtime. This can be useful for quick access and manipulation of data, but may not be suitable for long-term storage.

It's important to consider the size of the memory you want to store, as well as the frequency of updates and retrievals. Using a combination of different storage methods may be necessary depending on your specific requirements.

Overall, by implementing a robust storage system for your AI's memory, you can ensure that it has access to relevant information for learning and improving its performance over time.

scenic mantle
#

I recommend reading up on the basics of AI first.

haughty pivot
#

well i know the basics i just cant figure out how to make a database

graceful elk
haughty pivot
graceful elk
haughty pivot
#

So right now the only thing i could get to work to actually code is the notepad in my files lol so its running on a browser from my files if that makes sense idk how to explain it

graceful elk
#

I'm not sure what you mean exactly, are you running your java code on an online code editor?

haughty pivot
#

no from a notepad in files

#

do you have windows 11?

#

cause if you open a notepad write down your code in that then turn it into a .html file you can run it as if it was a website

graceful elk
#

Wait so is this java or javascript?

haughty pivot
#

java script

graceful elk
#

I'm not too familiar with javascript but you can look at stuff like localStorage

haughty pivot
#

k thanks

scenic mantle
#

You're also seemingly not talking about learning, but more about storing a conversation/context?

haughty pivot
#

i just want to be able to store the data because whenever i refresh the page it resets, basically i made a 75x75 grid with one corner there is bob the cube on the other corner there is a red cube the end goal, bob has to get to the red cube by moving up or down left or right or diagonally

scenic mantle
#

Ok, but that's not really what people consider AI. I'd just use local storage.

haughty pivot
#

its not ai used for like asking questions but it is still just an artificial intelegence used to solve problems in this case how to get to point a to point b, i am just using this as basically a simple stepping stool before i do something harder, in the end i want to make an ai to speadrun games or even simmulate games

scenic mantle
scenic mantle
#

In this case AI was a red herring, what you actually wanted to know was how to store data in your browser.

haughty pivot
#

k, thx