Represents a part of a chat response that is a reference, rendered separately from the content.

Constructor

new(value:EitherType<Uri, Location>, ?iconPath:Null<IconPath>)

Create a new ChatResponseReferencePart.

Parameters:

value

A uri or location

iconPath

Icon for the reference shown in UI

Variables

iconPath:Null<IconPath>

The icon for the reference.

value:EitherType<Uri, Location>

The reference target.