Skip to content

OpenAI.Request.User

Andrew Lambert edited this page Feb 9, 2023 · 5 revisions

Property declaration

 Dim User As String

Remarks

An optional unique identifier representing your end-user. This field can be included in any kind of request.

Sending end-user IDs in your requests can be a useful tool to help OpenAI monitor and detect abuse. This allows OpenAI to provide your team with more actionable feedback in the event that they detect any policy violations in your application.

The IDs should be a string that uniquely identifies each user. OpenAI recommends hashing their username or email address, in order to avoid sending any identifying information. If you offer a preview of your product to non-logged in users, you can send a session ID instead.

Clone this wiki locally