Type Alias Message

type Message = {
    content: string;
    createdAt: string;
    id: string;
    role: string;
    sources: MessageSource[];
}
Index

Properties

content: string

Message content.

createdAt: string

Datetime when the interaction was created.

id: string
role: string

human or ai role.

sources: MessageSource[]

List of sources used to generate AI messages (interactions).