I am sending multiple session.update
events ( for the sake of understanding) and I want to differentiate in the server event. Both my session.update
events have event_id
field set to event_1234
and evt_1234
respectively. Whenever I get a response from the server event. The event_id in both the server events are some random ids.
The documentation says that event_id
is used to identify this event. Am I misunderstanding something? or doing something wrong?
As I understand it, the user side event_id is for you to include a customer reference and session/chat number, or a database index key, or some other tracking method so in the event of some maliciouse use you can trace who did what and when, this would also enable OpenAI to understand you are implimenting best practices for user management.
If you log both your event_id and the one you get back you can uniqily identify both the outgoing call and the response.
Optional, but potentially valauble in larger scale deployments where moderation and user managment become important.
I will double check on this though, might not get an answer while the 12 days event is on.
But the event_id
I receive in my server responses is not the same as the one I send in my client event, how can I manage users?