How to set the user parameter using Assistants API

Do you know how could I set the user parameter when using the Assistants API? (https://platform.openai.com/docs/api-reference/messages/createMessage) Should I just include a “user” entry within the metadata Map?

https://platform.openai.com/docs/guides/safety-best-practices/end-user-ids

1 Like