29 lines
515 B
TypeScript
29 lines
515 B
TypeScript
export interface AIGeneratedContent {
|
|
conversationId: string
|
|
createdAt: number
|
|
id: string
|
|
messageId: string
|
|
raw: string
|
|
sections: AIGeneratedContentSection[]
|
|
taskId: string
|
|
title: string
|
|
}
|
|
|
|
export interface AIGeneratedContentSection {
|
|
title: string
|
|
content: string
|
|
}
|
|
|
|
export interface LLMConversation {
|
|
id: string
|
|
created_at?: number
|
|
finished_at?: number
|
|
title: string
|
|
messages: LLMMessage[]
|
|
}
|
|
|
|
export interface LLMMessage {
|
|
role: 'user' | 'assistant' | 'system'
|
|
content: string
|
|
}
|