Caching using Cohere and GPTCache

Hello everyone,
I am trying to create caching for my app. Using cohere and GPTCache. Only problem is how do I save the response from a few shot learning to my cache. Any help/pointer will be helpful.