Pickle is used to enable resumable story generation/processing, if the code failed after generating the story i.e. calling OpenAI APIs, the story contents will be saved as a pickle file. That pickle file can be passed to the program again to continue processing the story without recalling OpenAI APIs. According to Python docs, Pickle is unsecure.
Pickle is used to enable resumable story generation/processing, if the code failed after generating the story i.e. calling OpenAI APIs, the story contents will be saved as a pickle file. That pickle file can be passed to the program again to continue processing the story without recalling OpenAI APIs. According to Python docs, Pickle is unsecure.
https://docs.python.org/3/library/pickle.html