Type Alias Interaction

type Interaction = {
    createdAt: string;
    feedback?: Feedback;
    id: string;
    ownerId: string;
    rejected?: boolean;
    request: string;
    response: string;
    sources: MessageSource[];
    threadId: string;
    updatedAt: string;
}
Index

Properties

createdAt: string

Datetime when the interaction was created.

feedback?: Feedback
id: string
ownerId: string

Unique identifier of user which created the interaction.

rejected?: boolean

Indicator the system marked request as suspicious.

request: string

Interaction request content.

response: string

Interaction response content.

sources: MessageSource[]

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

threadId: string

ID of the thread to which the interaction belongs.

updatedAt: string

Datetime when the interaction was updated.