Solutons Lounge

How to preserve a Thread for longer periods and recall it? – API


I am dealing with a use case where the user might go silent for a couple of days and come back to pick up the thread and continue.

I understand that Open AI purges inactive threads after some time. I also see that the Thread object is only a reference to Open AI’s Thread. Messages seem to hold more of the content.

How should I preserve my thread and bring it back to life to deal with the above use case where a user might get back to the conversation after an unpredictable number of days? -thanks

An inactive thread and messages within is retained for 60 days by OpenAI.

It would over 60 days of experimenting and waiting to see if other changes to messages or threads, such as adding metadata, prolong the life.



Source link

Exit mobile version