/* generated using openapi-typescript-codegen -- do not edit */ /* istanbul ignore file */ /* tslint:disable */ /* eslint-disable */ import type { TopicModel } from './TopicModel'; export type PatchedConversations = { readonly id?: string; readonly messages?: string; topics?: Array; readonly sentiment?: string; mentor?: string; readonly student?: string; readonly email?: string; model?: string; readonly rating?: number; platform?: string; /** * Email claim from LTI1.3 JWT if an LTI user and available */ readonly lti_email?: string; /** * Username claim from LTI1.3 JWT if an LTI user and available */ readonly lti_username?: string; readonly inserted_at?: string; has_document?: boolean; memory_tracked?: boolean; enable_artifacts?: boolean; is_shared?: boolean; /** * False if session was created by an anonymous user */ is_authenticated?: boolean; /** * Per-session override that skips writing ChatMessageHistory rows for this conversation. Honored only when the tenant has ALLOW_USER_CHAT_PRIVACY_CONTROL enabled. Mirrors Mentor.disable_chathistory but scoped to one session. */ disable_chathistory?: boolean; llm_name?: string | null; llm_provider?: string | null; metadata?: any; /** * AI-generated title summarizing the conversation */ title?: string | null; /** * True if the session has both user and AI messages */ is_conversation?: boolean; /** * Count of human messages in this session */ message_count_human?: number; /** * Count of AI messages in this session */ message_count_ai?: number; first_user_message?: string | null; last_message_at?: string | null; tools?: Array; };