does anyone know how ChatGPT remembers context in a chat? does it chain the previous prompts in each consecutive prompts? Or do they use a file(as described in the API) in the backend with all the prompts in a single chat?