/**
 * 最近记忆模型
 * 
 */
import { z } from "zod";

import { numberOrZero, stringOrEmpty } from "../nullable-defaults";

export const RecentMemorySchema = z.object({
  type: stringOrEmpty,
  content: stringOrEmpty,
  importance: numberOrZero,
  createdAt: stringOrEmpty,
});

export type RecentMemoryInput = z.input<typeof RecentMemorySchema>;
export type RecentMemoryData = z.output<typeof RecentMemorySchema>;
