ChatResult

interface ChatResult(source)

The result of a chat request.

Online Documentation

Properties

Link copied to clipboard
abstract external var errorDetails: ChatErrorDetails?

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

Link copied to clipboard
abstract external val metadata: ReadonlyRecord<JsString, *>?

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