Memory in Assistants and Chat Completion APIs

This thread is about memory, not threads or chat history. I remember that ChatGPT has been given access to memory, where it remembers certain aspects of its users by taking points from differing conversations. I was wondering if the APIs had this same feature, or if it was specific to ChatGPT. If so, how does one manage the memory associated with an assistant? Can I link a memory to a specific user id passed to the API?

You’d probably have to write the logic for this yourself - let’s call it createMemory(user)
You could then make use of function calling or tool use to call the createMemory function.