Class SafetyIdentifier
A stable identifier used to help detect users of your application that may be violating OpenAI's usage policies. The IDs should be a string that uniquely identifies each user. We recommend hashing their username or email address, in order to avoid sending us any identifying information. https://platform.openai.com/docs/guides/safety-best-practices#safety-identifiers
public class SafetyIdentifier
- Inheritance
-
objectSafetyIdentifier
Properties
Value
public string Value { get; set; }
Property Value
- string
Methods
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.
Operators
implicit operator string(SafetyIdentifier)
public static implicit operator string(SafetyIdentifier safetyIdentifier)
Parameters
safetyIdentifierSafetyIdentifier
Returns
- string
implicit operator SafetyIdentifier(string)
public static implicit operator SafetyIdentifier(string userId)
Parameters
userIdstring