reference

abstract fun reference(value: JsAny, iconPath: IconPath = definedExternally)(source)

Push a reference to this stream. Short-hand for push(new ChatResponseReferencePart(value)).

Note that the reference is not rendered inline with the response.

Parameters

value

A uri or location

iconPath

Icon for the reference shown in UI

Online Documentation