ChatResult

interface ChatResult(source)

The result of a chat request.

Online Documentation

Properties

Link copied to clipboard

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

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

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