interstellar_ai/app/backend/ProcessMemory.ts
2024-09-30 09:35:58 +02:00

20 lines
240 B
TypeScript

import { Settings } from 'electron'
import React from 'react'
type Message = {
role: string
content: string
}
type Chat = {
name: string
messages: Message[]
}
type Data = {
chats: Chat[]
settings: Settings[]
}