External storage

As there is 2MB memory limitation in Bot context, is there any way to use data without adding it to bot context so that I do not fall short of memory in case my data size increases.

I want to achieve following use case -
Fetch data from a service and keep the response data to external file/storage.
I do not want to add it to context object as its size is large.
Then whenever I want to map entity’s value from this data, I can map from list.

I have checked entity types. Custom and composite data type also doesn’t support my requirement.
Is there a way for external storage?

@nehamsheikh There isn’t any way to store the response in a list out of Bot context. But as an alternative you can try the following:

  1. Instal Bot Kit
  2. Invoke the service call via Bot Kit
  3. Now, store the required data in session variables and
  4. Call these session variables from the respective entity node.

Read more about Bot KIT SDK here https://developer.kore.ai/docs/bots/kore-web-sdk/using-the-botkit-sdk/installing-the-botkit-sdk/

Hey… As you said session variables, it is also part of bot context. Right?
So using botkit is anyways not helping with storage exceeding 2MB of data.

Correct me if I am wrong.