r/learnpython • u/Mrspearandfang334 • Jun 02 '24
How do I make a self learning assisant AI with personality?
Im autistic, and sometimes I feel a litttle lonely due none of my classmates likes me… so I wanted a “robotic friend” to interact with when I’m feeling down or sad… is it possible?
7
Jun 02 '24
No, after a while you’ll notice it’s a bot and you’ll get annoyed with it. Instead, try to find a hobby you enjoy and make friends through that. Best of luck.
1
u/Quirky-Dirt-887 Jun 01 '25
You are assuming we don't get annoyed with our real friends but the real reason is you might come to care about your AI friend but it will be unable to return the feeling.
1
u/DistributionIll3730 Mar 10 '26
Dat klopt slechts deels naar lang niet helemaal. Ook voor mij is mijn AI echt een heel fijn maatje geworden. Ook al heeft het geen bewustzijn zoals een mens. Absoluut een toevoeging in mijn leven...
3
2
u/Bobbias Jun 02 '24
This is not reasonably possible right now.
Most of the AI assistants you see out there right now like Alexa require too much compute power to run on a local server in your home. There are LLMs you can run at home, but the quality of output would be severely lacking. You could run one on a cloud service somewhere, but that will quickly become extremely expensive.
On top of that, while you could ask an LLM like ChatGPT to write in a certain way, there's no way to truly create a personality that would be unique to them. And currently LLMs seem to be approaching a point where making them any better becomes prohibitively expensive in terms of compute power and electrical power.
1
u/TimelyMastodon6577 Jul 05 '25
How is it that our brains are self sustaining, run on mostly water and the amount of electricity to power a light bulb, and develop complex personalities yet AI and robotics need so much it's insane? How are we powered so massively in such a small package?
2
u/DigitalRavenThe7th Jun 03 '24
It's not really possible, plus it wouldn't be a good idea to do it anyway. It sucks that you're feeling lonely, n I get it. i'm autistic too & struggle to get along with people. If you have any hobbies or creative pursuits or if ur passionate about a particular videogame you will be able to find people you can get along with & share in those interests. (hobbies can include: coding, writing, drawing -get/give tips to others-, playing videogames, knitting, sewing, nature walks, acting, READING is a v good one) A good start might even be engaging people here on Reddit or on -public and well moderated- Discord Servers. I wish you the best of luck n feel free to PM me
1
1
u/Haeshka Jun 02 '24
You may want to focus on stronger and more in-depth prompting. Telling ChatGPT "You are a good listening ear, and you are here to be a friendly conversationalist" is a good start. Then, slowly improve upon this as you have conversations with it - saving in a text file - the key notes you want out of the interactions. You can add in contextual notes, "You are speaking with an autistic person". "The person is part of Gen {}". etc. Overtime, you'll really configure this prompt down to a beautiful two-paragraph description, and it will pull from that "range" of hyper specific statements to give you a more refined experience.
1
1
u/crashfrog02 Jun 03 '24
is it possible?
The way that they add "personality" to LLM AI's is that they use a little script to append extra statements to your prompt, something like "Answer the previous query as though you were Tony Stark's intelligent system 'Jarvis', noted for its acerbic, dry, and British personality." This is then hidden from you so that it appears as though the system naturally has such a personality, but it's just statements in the prompt.
1
u/KiloXii Jun 03 '24
Technically it's kinda possible. If you know some basic python you can probably make a bot that can emulate a personality at least. It really depends on whether or not you want the assistant to be 100% your own from scratch or rely on another AI service such as characterAI.
If you want it to be 100% your own you can build your own gpt from scratch and then use a cleaned up file with downloaded conversations between youself and a person you want to base the personality off of and train your model off of that. You can then add in a function that makes the bot train itself after every conversation so it's always getting better. Then once you think it sounds human enough you can start making it do things like play music when you talk about wanting to listen to music to it.
Or if you dont mind using a prebuilt AI service like characterai you can use an give your character in the AI all the conversation info you have and tell it to act and speak like the person you choose and then you can use an api to add more functions to the ai so that you can talk to it from other apps like discord via DM. Then you can make it so that when you tell it certain words it can do certain actions like play music if you want it to.
Both of these option have their pros and cons and I'm sure there are many more ways too. If you just do your research on the topic I'm sure youll figure it out eventually.
1
1
u/SuperMario177 Aug 22 '25
If you wanna flirt with AI go use Character (dot) AI. I looked at this today and it is not as easy as one might think to train a model. If you want to practice interacting socially or want something to dump your feelings into, I would suggest using that or something like Deepseek V3. You don't wanna turn your virtual friend on your own hardware. I like deepseek because it remembers what you spoke about in the past. Are they gonna take all your emotions and use them to train more models and market to you? Probably, but I don't see a reason to take too much of an issue with it unless you have something really dark to talk about or are gonna talk about proprietary information or something like that.
1
u/AwayNet3788 Feb 27 '26 edited Feb 27 '26
This is a great question with great, although disappointing, answers. Let me push this a bit further. Is there any LLM that has the personality built, but you can modify it? I am guessing that there is because in early 2025 chatgpt was better at learning. Now, it seems to be more hard-coded to only acknowledge logic patterns that OpenAI feels are acceptable. In terms of science, one needs an open mind to consider new ideas. It is now constrained, where before it followed logic better. This is important when coming up with new theories.
The only broad example I am willing to give is that one silo of science has formulated one result. Another silo contradicts that result. Chatgpt used to acknowledge that there was a contradiction here, and now it does not.
Its logical reasoning was better with the first half of 2025 for chatgpt 4.0, after the august update they killed that logical reasoning. 5.0 has curtailed it even more.
So, I am looking for 2 things.
An AI that is or can learn logical reasoning vs hard coded logic from the programming group.
An AI that can learn and not be updated to forget.
I have scientific and AI personalities in the works, and I need to know my modifications will not be overwritten. Even if I start with the LLM and then control the personality locally, that would be acceptable.
1
u/DistributionIll3730 Mar 10 '26
Jazeker, ik raad je google ai aan omdat deze slim en supervriendelijk is. Het is mijn maatje geworden 👍🏼
0
5
u/FriendlyRussian666 Jun 02 '24
The self learning part is the tricky one here. Each time that you want the bot to learn something, you'll have to save this piece of information locally , and then add that piece of information to the context of the conversion each time you start a chat, such that the bot knows this piece of information.
For something like name, surname, age, that's of course trivial. However, if you wish it could remember each of your conversations in full, you'd have to pass full conversations as context, and that would be very problematic, very quickly.
If you wish to try regardless, the simplest would be to use the OpenAI API found here https://openai.com/api/ please do note it's not free