Need suggestions on how to handle Conversations

Hello everyone I’m here again now asking more for suggestions.

As I said on my previous topic I’m migrating from Assistants API to Responses API.

I had a problem with getting no timestamps on messages saved within a Conversation item. I now understand how creating a Response with a Conversation ID automatically updates said Conversation with the input and output context of the created Response.

I think it’s brilliant since you now save way more calls than what you had to do with Assistants with creating Asistant, Thread, Message and Runs. Maybe a parameter to create a Conversation with the first Response if set as null or whatever would be great.

Anyway that’s not my point I’m just rambling on about my thoughts as I write.

My point IS that on the Logs in the Dashboard it shows the connection made between the Response and the Conversation (made by the Response I guess) but you have no way of getting the Response’s ID through the Conversation. My idea was to do this to get the timestamps of the Response.

So should I just save my own “Conversation” with the Responses’ ids on my DB to get the persistence I’m looking for or just stick with the content only of OpenAI’s Conversation?

Reminder I still have little experience in case I said something really stupid. Also English is not my first language in case I may have expressed myself wrong.

1 Like