ai-query对接新版freesun-agent接口的分支
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

34 lines
853 B

/* eslint-disable*/
'use strict';
module.exports = dc => {
const DataTypes = dc.ORM;
const sequelize = dc.orm;
const ChatSchemeFileCache = sequelize.define("chatSchemeFileCache", {
dataId: {
type: DataTypes.STRING,
allowNull: false,
defaultValue: null,
comment: "对话记录的唯一标识",
primaryKey: true,
field: "data_id",
autoIncrement: false
},
fileUrl: {
type: DataTypes.STRING,
allowNull: false,
defaultValue: null,
comment: "文件链接",
primaryKey: false,
field: "file_url",
autoIncrement: false
}
}, {
tableName: "chat_scheme_file_cache",
comment: "缓存AI对话生成的行业方案文件链接用于下载",
indexes: []
});
dc.models.ChatSchemeFileCache = ChatSchemeFileCache;
return ChatSchemeFileCache;
};