Files
knowai/types/model/base.ts
tobegold574 382e3aff21 feat(reset): 以构造器模式重构
- 加了大文件传输自定义分片协议

BREAKING CHANGES: 0.1.0(latest)
2025-11-30 20:27:53 +08:00

18 lines
535 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import type { BaseEntity, BaseStats } from '../common';
// AI模型评论接口
export interface ModelComment extends BaseEntity {
modelId: string; // 模型ID
content: string; // 评论内容
parentId?: string; // 父评论ID用于嵌套评论
}
// AI模型接口
export interface AIModel extends BaseEntity, BaseStats {
name: string;
description: string;
avatar?: string; // 模型头像
tags: string[]; // 模型标签(这个反正是静态的,必须有)
website: string; // 官方网站(必须有)
}