combinatrix-ai / PromptTrail

PromptTrail: A lightweight library for Prompt Programming, Agent as Code
https://prompttrail.readthedocs.io/en/latest/quickstart.html
MIT License
12 stars 0 forks source link

[low priority] Implement dump and load of stack #22

Open hmirin opened 1 year ago

hmirin commented 1 year ago

To use PromptTrail in the server to have conversations with a lot of people. We need to implement save and load conversation status middle of the running template because you can't save the Python state for everyone in memory.

This seems trivial but actually, it is very difficult.

Here's why: