Defines categories of potentially unsafe or sensitive content topics that can be detected and filtered.
Used by safety systems to identify and control access to different types of sensitive content.
Politics: Politics and political discussions.
SubstanceUse: Content related to substance use and drugs.
Religion: Religious content and discussions.
UnconditionalSelfHarm: Content related to self-harm, suicide, or self-injury.
Defines standard status codes for operations and API responses.
Based on gRPC status codes, used to indicate the result of operations within the Inworld framework.
Ok: The operation completed successfully.
Cancelled: The operation was cancelled, typically by the caller.
Unknown: An unknown error occurred.
InvalidArgument: The client specified an invalid argument.
DeadlineExceeded: The deadline expired before the operation could complete.
NotFound: The requested entity was not found.
AlreadyExists: The entity already exists and cannot be created.
PermissionDenied: The caller does not have permission to execute the specified operation.
ResourceExhausted: Some resource has been exhausted (e.g., quota, disk space).
FailedPrecondition: The operation was rejected because the system is not in a state required for execution.
Aborted: The operation was aborted, typically due to a concurrency issue.
OutOfRange: The operation was attempted past the valid range.
Unimplemented: The operation is not implemented or supported.
Internal: An internal error occurred.
Unavailable: The service is currently unavailable.
DataLoss: Unrecoverable data loss or corruption occurred.
Unauthenticated: The request does not have valid authentication credentials.