Hey guys, this is great! I really love your work, ...
# marvin-ai
a
Hey guys, this is great! I really love your work, it is a gem! I have been building a mini framework internally, but your work just rocks! I'm currently storing threads/messages in our system, by receiving user messages through our API. once I get the message, I store it in a thread, then load the thread history and feed it to a controlflow "Flow". I'm not using the agent user_access feature as I don't know much of how to use Prefect API. I would love to hear your advice on how should I approach feeding and/or extracting the user-targeted output from the "Flow" messages history, so we can store it in our system and then stream it through our API.
a
Hey @Ali! Apologies we were at a team onsite and this slipped by, thanks for following up!
I don't have a super deep opinion for you here. Prefect itself has a native pause/resume feature for you to wait for human input through an API, but we store those responses as artifacts. So the way that particular feature is designed right now I don't think it's good for understanding conversation "history". So storing it on your end for now makes sense. Happy to figure out the right way to do that though
👍 1
a
Thanks @Alexander Azzam much appreciated