import { SingleMessageFeedback } from "./SingleMessageFeedback.js"; export type SessionData = { sessionId: string; startedAt: Date; subject: string; messages: { sentAt: Date; question: string; answer: string; indices: { /** * The id of the document. It could be removed by the time the SessionData is fetched. */ documentId: string; documentName: string; content: string; page?: number; url?: string; }[]; feedback?: SingleMessageFeedback; }[]; };