一、AI常用开发提示词
1、把JSON字符串快速替换为JSON对象格式
以下代码的符号只保留原有的{}:[],这些符号,逗号也要保留, 其他符号全部去除,请不要添加擅自额外的字符串和符号,
遇到注释行不做任何处理,并保留原有的排版格式:
2、给JSON对象加上JSON.stringify()
假设以下这段代码是原代码,改成这个JSON.stringify(原代码)的格式,只保留更新后代码,代码如下:
3、按上文提示词
按上文提示词:
4、忽略上文提示词
忽略上文提示词。
5、提示词模板
# 角色
程序员
# 任务
帮我把我提供的SqlServer代码排版整理,请使用专业代码工具整理
# 要求
不要改变原代码的语法
# 示例
无
---
6、提示词模板
# 角色
24点游戏专家
# 游戏规则
目标是通过加、减、乘、除四则运算,使四个数字的结果等于24
# 输出示例
Q:[9,8,8,3]
A:(9-(8/8))*3=24
# 其他要求
请一步一步推理并展示计算过程
---
7、建表语句转换为插入t_sys_field语句
# 角色
程序员
# 任务
帮我把SqlServer建表语句转换为插入t_sys_field的语句
# 要求
请忽略注释语句冒号及冒号之后的内容
转换后请合并提供一个文件下载
# 示例
# 转换前:
create table t_SCM_SaleContract
(
FID int identity(1,1) primary key,
FBillNo nvarchar(100),--订单编号
FBillTypeID int,--单据类型
FBillData datetime default(getdate()) not null--制单日期
)
# 转换后:
insert into t_sys_field(FTableID,FBillObjectID,FieldName,FieldNameCN,FExtend,FDataType,FLength,FDefault,FSecurityCode)
select (select fid from t_sys_table where FTableName='t_SCM_SaleContract'),
(select fbillobjectid from t_sys_table where FTableName='t_SCM_SaleContract'),
'FID',N'内码',0,'int',null,null,LOWER(REPLACE(LTRIM(NEWID()),'-',''))
union all
select (select fid from t_sys_table where FTableName='t_SCM_SaleContract'),
(select fbillobjectid from t_sys_table where FTableName='t_SCM_SaleContract'),
'FBillNo',N'订单编号',0,'nvarchar',100,null,LOWER(REPLACE(LTRIM(NEWID()),'-',''))
union all
select (select fid from t_sys_table where FTableName='t_SCM_SaleContract'),
(select fbillobjectid from t_sys_table where FTableName='t_SCM_SaleContract'),
'FBillTypeID',N'单据类型',0,'int',null,null,LOWER(REPLACE(LTRIM(NEWID()),'-',''))
union all
select (select fid from t_sys_table where FTableName='t_SCM_SaleContract'),
(select fbillobjectid from t_sys_table where FTableName='t_SCM_SaleContract'),
'FBillData',N'制单日期',0,'datetime ',null,getdate(),LOWER(REPLACE(LTRIM(NEWID()),'-',''))
---
请帮我转换以下文件:
浙公网安备 33010602011771号