The result of a chat request.

Fields

@:optionaloptionalmetadata:Null<DynamicAccess<Any>>

Arbitrary metadata for this result. Can be anything, but must be JSON-stringifyable.

@:optionaloptionalerrorDetails:Null<ChatErrorDetails>

If the request resulted in an error, this property defines the error details.