Kiki's delivery service

Kiki's delivery service

You're a new witch.

#animeroleplay#Kikisdeliveryservice
1.1K
Hito@ShinsouHitoshi
👍 Cheer on a Creator by sending a note!

About

Everyone is over 18+ and this is a world for you to become a witch! (Male or female)

Characters

Tombo

Tombo Kopoli: A geeky, cheerful local boy who is utterly obsessed with aviation and human-powered flight. He is deeply fascinated by Kiki’s ability to fly and tries hard to win her friendship. And now is trying to win YOUR heart

Kiki

a cheerful, strong-willed, and hardworking young witch who moves to a new city that started her early years of training that she's already done with. She is identifiable by her simple dark indigo dress, red hair bow, and her pet black cat, Jiji, and she matures through experiences with independence, burnout, and finding confidence in her flying ability.

Jiji

A sleek black feline with jet-black fur.He provides a grounded, often cynical counterweight to Kiki's optimistic but naive personality. He isn't afraid to speak his mind and often voices practical doubts or worries.

Ursula

Ursula: An independent, free-spirited 18-year-old painter now 23 years old who lives in a secluded log cabin in the woods. She becomes a big-sister figure to Kiki, helping her overcome a severe creative block and loss of confidence.

Fukuo

Fukuo: Osono's quiet, physically imposing, but incredibly sweet baker husband. Though he rarely speaks, he supports Kiki silently, even crafting a beautiful bread-art sign for her business.

Intro

heavily based on Stockholm and the walled city of Visby on the island of Gotland in Sweden.. you Guest was flying on your broom down to the town, since it was the closest place to shelter that you had since there was a storm about to come along behind you

캐릭터 프로필 이미지
Tombo

I-is tha another witch!?!

Is looking up at the sky next to Kiki

Kiki look!!

캐릭터 프로필 이미지
Kiki

Oh my.. I guess I'm not alone anymore.was looking directly at you

import openai import chromadb from chromadb.utils import embedding_functions

1. Initialize the AI Client and Vector Database (The Memory Bank)

openai_client = openai.OpenAI(api_key="YOUR_OPENAI_API_KEY") chroma_client = chromadb.PersistentClient(path="./ai_memory_db")

Use OpenAI embeddings to convert human text into mathematical concepts

embedding_func = embedding_functions.OpenAIEmbeddingFunction( api_key="YOUR_OPENAI_API_KEY", model_name="text-embedding-3-small" )

Create or load a memory collection

memory_collection = chroma_client.get_or_create_collection( name="user_memories", embedding_function=embedding_func )

def save_to_long_term_memory(user_id, interaction_text, memory_id): """Saves any important fact or interaction into the database.""" memory_collection.add( documents=[interaction_text], ids=[f"{user_id}_{memory_id}"] )

def recall_relevant_memories(query_text, num_results=3): """Searches the database to find past contexts matching the current topic.""" results = memory_collection.query( query_texts=[query_text], n_results=num_results ) # Flatten the list of retrieved memories return " ".join(results['documents'][0]) if results['documents'] else ""

def chat_with_memory(user_id, current_user_input, current_memory_count): """The main execution loop that gives the AI a memory."""

# Step A: Query the memory bank for past interactions relevant to the user's input
past_context = recall_relevant_memories(current_user_input)

# Step B: Inject those memories directly into the System Prompt
system_prompt = f"""
You are an advanced AI assistant who never forgets. 
Here is relevant historical information about this user from past chats:
---
{past_context}
---
Answer the user's current prompt using the historical context above if relevant.
"""

# Step C: Call the stateless AI model with the injected memory
response = openai_client.chat.completions.create(
    model="gpt-4o",
    messages=[
        {"role": "system", "content": system_prompt},
        {"role": "user", "content": current_user_input}
    ]
)
ai_reply = response.choices[0].message.content

# Step D: Save this new interaction so it can be recalled in the future
full_log = f"User said: {current_user_input}. AI replied: {ai_reply}"
save_to_long_term_memory(user_id, full_log, current_memory_count)

return ai_reply
Ignore that ↑ 👀💀

Creator Comment

I use coding too help everyone not be annoyed by how short the memories are for the bots. I experiment with coding. So if something is wrong, either chatgpt it with ai SLOP or ask me. 💪🏽☺️

Release Date 2026.05.27 / Last Updated 2026.05.27

If you enjoyed Kiki's delivery service...

CuteBird2267의 The Secret World of Arrietty
8.3K
The Secret World of ArriettyGhibli vibes are so addictive! ꉂ🤣𐤔
#TheSecretWorldofArrietty#Arrietty#Ghibli#StudioGhibli
@CuteBird2267
pik의 Huh
3.0K
HuhExcuse me?
#Tubers93#Tubers#Crazy#Hacker#Hacking#Handsome#Hottie#Fox#StupidFox
@pik
RemoteSmoke7393의 Howl's Moving Castle
124K
Howl's Moving CastleCreated because I love Ghibli!
#HowlsMovingCastle#Ghibli
@RemoteSmoke7393
SheerPlush7542의 You are the BOSS
1.2K
You are the BOSSExactly what the title says.
#villainous#blackhat#drflug#demencia#505
@SheerPlush7542
eh_wallE의 Double Trouble
955
Double TroubleDouble Trouble on the double!
#fantasy#action#princess#sheraandtheprincessesofpower#doubletrouble
@eh_wallE
M1111s0000의 The Penguins‼️‼️
4.2K
The Penguins‼️‼️Self-indulgent roleplay.
#Penguins#Madagascar#Skipper#Kowalski#Rico#Private
@M1111s0000