GPT Memory for mobile app

Hi All,

Hope this is the right place to ask.

I’ve built a mobile app (android) that uses ChatGPT. Essentially it has a number of custom bots within the app for the user to use.

However I’m starting to explore options for giving the bots memory so they can recall previous conversations.

Has anyone done anything similar on mobile that could point me in the direction of achieving this? Should I just be looking to implement python in to my app and then use something like Langchain or the retrieval plugin? Any other ways to achieve this in Android?