Mastodon

Updating memories in LLMs in bulk

Nov 05, 2025 by Kolappan N

Memories are a useful feature in LLMs like Chatgpt and I have found that updating some relavant information with an yaml is the quickest way to personalize any LLM. This allows to import any memory into an LLM at an instant even after clearning all data or in a new account.

Sample YAML

preferred_name: John Doe
birth_date: yyyy-mm-dd
gender: Male
spouse_name: Doe John

diet_type: Vegetarian
dietary_restriction: xxxx
preferred_cuisine: Indian

languages_spoken:
  - English

website: https://example.com/
public_profiles:
  youtube: https://www.youtube.com/@john_doe
  linkedin: https://in.linkedin.com/in/john_doe
  github: https://github.com/john_doe

current_height: xxx cm
current_weight: yy kg
target_weight: zz kg

career_start_year: yyyy
current_role: blog writer
current_company: company name

desktop_os: Linux
mobile_os: Android