You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
what is the best way to keep track of previous conversations for multiple users? I know I can get the last message by calling GetResponseAsync(resp_id), but this only gives me back the last response, not the entire conversation. What is the suggested approach?
Also, I want to be able to start a new conversation, without any history. How is this solved in the correct way? Should I just create a new Response as usual, or is it a special way to mark this as a new conversation?
I like that the responses api is stateful, but it is not obvious how to handle these states I think.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
what is the best way to keep track of previous conversations for multiple users? I know I can get the last message by calling GetResponseAsync(resp_id), but this only gives me back the last response, not the entire conversation. What is the suggested approach?
Also, I want to be able to start a new conversation, without any history. How is this solved in the correct way? Should I just create a new Response as usual, or is it a special way to mark this as a new conversation?
I like that the responses api is stateful, but it is not obvious how to handle these states I think.
Beta Was this translation helpful? Give feedback.
All reactions