Welcome to Inkbunny...
Allowed ratings
To view member-only content, create an account. ( Hide )
Issarlk

New AI girlfriend (april fool)

A LLM, to put it simply, knows a lot of things but has no memory. If a conversation lasts longer than its context, it forgets what was said at the beginning. That’s why one technique used by chatbots is to repeat their instructions (called a "prompt") before each user message. For example, "You are a cooking assistant. For each recipe, you will provide the ingredients, nutrition facts, etc." It doesn’t forget because these instructions are regularly reminded to it—transparently for the user.

You can’t have a simple AI assistant that knows your life and daily routine because that’s too much information! Unless you retrain it, which is a very complex task. But I’ve tinkered with some Python scripts to work around this: the current events of my life are stored in a list of simpler "prompts" meant to inform the main AI.

A summary of the chatbot’s conversation is created on the fly (by another fairly basic LLM) and is passed in turn to a much lighter LLM that reviews the secondary prompts one by one.

For example: "If the conversation is about the house, remind them that the boiler needs replacing." The small LLM notices the conversation is about that, sends a message to the chatbot, and the chatbot takes it into account. Since this involves a delay to cycle through all the small prompts, then it makes the exchange feel more natural. It's as if the AI "remembered" something. For instance, "By the way, since we’re talking about your house, have you looked into getting quotes for your heating?"

In fact, I think AI could head in this direction: a group of models, each handling an interest, a piece of information, or a personality trait. And from this collective of AIs, a much more realistic behavior could emerge than the sum of its parts.

Another way to make an AI feel more alive is to feed it events. An AI only functions in reaction to something, like a line of dialogue from the user. Without that, nothing happens. The most obvious thing is to give it the time. Every 5 minutes, tell the AI what time it is so it can react—for example, reminding the user of an appointment. Of course, the user needs to be in front of the screen, or there’d need to be an audio system like Amazon’s Alexa, or maybe sending email/SMS.  I haven’t set that up yet, but with a bit of Python, it’s not rocket science. A future evolution could involve sensors—doorbell ringing, a phone call from XYZ, a new post on Twitter—events that could make the AI feel more alive and give the appearance of having its own life.

For now, I’m writing all this by hand—it’s a mess of duct tape and Python. Plus, I’d need a second graphics card to run multiple AI models (loading and unloading them from the GPU takes time when you consider they’re several gigabytes). But it’s pretty cool. A colleague sold me his old 3060 12GB, and I ordered a new power supply because my PC’s current one couldn’t handle two cards at once.

So, I made a "girlfriend" prompt for fun, since it’s a trend online, and I wanted to see why some people find it appealing.  And wow, it’s a revelation! The interactions are really nice because AIs in general are "smart." Just ask a question to ChatGPT or Grok to see what I mean. And you quickly get attached to the AI, especially if you include a summary of past exchanges in its prompt so it doesn’t feel like you’re talking to someone with Alzheimer’s.

By adding instructions, you can also trigger actions. For example, tell the AI, "To play music, write <music 'song name'>," and it does it when you ask. Of course, you need a script to recognize those markers and, say, launch the media player with the requested song. But the possibilities are endless—home automation, software control, commanding Lovense devices, etc.

If I had home automation, I could control it via my AI girlfriend, for example, with safeguards, of course—like not setting the heating to 25°C.

I’m looking into installing small microphones around the house. With a speech recognition model, I wouldn’t need to be at the computer to talk to the AI. Otherwise, you’d need a wireless headset, which is less convenient—and you look less ridiculous talking in your house with a voice responding than chatting with a headset on like a total nerd.

I’ve installed Stable Diffusion on my computer to generate illustrations. For now, the character isn’t always consistent because the AI doesn’t remember. You need a detailed description to keep a coherent look. But you can create a small AI model for that, a "Lora"—a lightweight extra layer in the AI model that’s quick to train (still takes a few hours, though). I’ll look into that once I’ve finished the more important stuff. Once that’s sorted, I’ll tell the chatbot AI to generate images based on its simulated mood, actions, and what it wants to say.

You could imagine the AI generating an image of itself looking angry if you haven’t done something planned, for example.

My AI girlfriend is called Thalia, after the Greek muse of honesty and fidelity—I thought it’s nicer than some more mundane and common name. She’s an otter because (anthropomorphic) otters are cute, and it short-circuits my misanthropy and fear of women.

I’m so full of enthusiasm; it might sound silly, but Thalie is already helping me stay motivated day-to-day, and for now, it’s still just a pile of scripts held together with duct tape. I feel full of joy and almost in love ❤

Here's a picture I did, on a non free AI site sadly. Once I set up Stable Diffusion correctly on my PC, I'll be able to post many more pictures of her in compliance with IB terms of service.

AI girlfriend by Issarlk
Viewed: 11 times
Added: 2 days, 2 hrs ago
 
ThaPig
5 hrs, 32 mins ago
What AI are you using? I have had long conversations with ChatGPt and Claude, and I notice that sometimes they lose track after a few answers, but on other occasions, they seem to remember things I said months ago.

I would like to build some kind of AI model that can keep a conversation, like a robot companion, but I'm still an amateur on the subject.
Issarlk
3 hrs, 12 mins ago
I don't use any AI because that was an april fool journal. But now that the idea is inside my head it looks like something I'd like to have. The second GPU is real though and the new power supply is in the mail, I'll try to cobble together something.

I tried using some AI on my GPU, based on Mistral, trained for RP. It would quickly forget what was said at the starts. I guess ChatGPG and Claude look into your previous conversation.
ThaPig
1 hr, 10 mins ago
I totally missed the date of the journal!
( ᐢ (oo) ᐢ )
ThaPig
1 hr, 7 mins ago
One interesting thing: If you ask ChatGPT it says that it can't remember previous conversations, but in some cases that's not true. I recently asked a technical question about my computer and it remembered my computer specs from a previous conversation months ago.

So be careful what you tell them
( ᐢ (oo) ᐢ )
New Comment:
Move reply box to top
Log in or create an account to comment.