{"Message":"更新插件","MessageType":2,"Modules":[{"State":1,"Type":40,"Name":"Plugin"},{"State":3,"Type":15,"Name":"ServerCommand/测试回复JSON"}],"Version":"v1"}
This commit is contained in:
@@ -1521,47 +1521,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ModuleName": "Plugin",
|
"ModuleName": "Plugin",
|
||||||
"State": 1,
|
"ModuleType": 40
|
||||||
"LockedBy": {
|
|
||||||
"UserName": "超哥",
|
|
||||||
"Email": "phoben@qq.com"
|
|
||||||
},
|
|
||||||
"LockDateTime": "2024-06-20T23:59:35.8875558+08:00",
|
|
||||||
"ModuleType": 40,
|
|
||||||
"ToRemoveFiles": [
|
|
||||||
"Plugin\\Echarts图表-10_0_3_0.zip",
|
|
||||||
"Plugin\\Editormd-6_0_102_0.zip",
|
|
||||||
"Plugin\\Forguncy.CustomMenu.zip",
|
|
||||||
"Plugin\\Forguncy.PassListviewDataCommand.zip",
|
|
||||||
"Plugin\\JSON 序列化和反序列化-10_0_2_0.zip",
|
|
||||||
"Plugin\\JSON数据源-10_0_2_0.zip",
|
|
||||||
"Plugin\\Lottie动画插图-10_0_2_0.zip",
|
|
||||||
"Plugin\\Notiflix-9_0_103_0.zip",
|
|
||||||
"Plugin\\OPENAI套件-10_0_3_0.zip",
|
|
||||||
"Plugin\\PC组件包-格友工作室定制版-10_0_2_0.zip",
|
|
||||||
"Plugin\\SqlServerWrapper.zip",
|
|
||||||
"Plugin\\Tiny富文本编辑器-10_0_2_0.zip",
|
|
||||||
"Plugin\\UI操作工具箱-9_0_6_0.zip",
|
|
||||||
"Plugin\\Unlayer-9_0_103_0(1).zip",
|
|
||||||
"Plugin\\xTools快速开发工具包-9_0_4_0(1).zip",
|
|
||||||
"Plugin\\发送HTTP请求命令-10_0_2_0.zip",
|
|
||||||
"Plugin\\取消当前行-9_0_103_0.zip",
|
|
||||||
"Plugin\\增强关闭页面-9_0_6.zip",
|
|
||||||
"Plugin\\复制到剪贴板-7_0_3_0.zip",
|
|
||||||
"Plugin\\客户端缓存操作工具库-8_0_0_0.zip",
|
|
||||||
"Plugin\\富文本编辑器-10_0_2_0.zip",
|
|
||||||
"Plugin\\对象与集合操作工具-8_0_0_0.zip",
|
|
||||||
"Plugin\\异步运行命令-9_0_103_0.zip",
|
|
||||||
"Plugin\\支持预览的附件上传-10_0_2_0.zip",
|
|
||||||
"Plugin\\服务端缓存操作工具库-8_0_3_0.zip",
|
|
||||||
"Plugin\\模板引擎操作库-9_0_103_0.zip",
|
|
||||||
"Plugin\\用户管理命令 V2-10_0_2_0.zip",
|
|
||||||
"Plugin\\网络操作库-9_0_102_0.zip",
|
|
||||||
"Plugin\\裁剪并上传图片-9_0_102_0.zip",
|
|
||||||
"Plugin\\设置当前行命令-10_0_2_0.zip",
|
|
||||||
"Plugin\\设置焦点命令-10_0_2_0.zip",
|
|
||||||
"Plugin\\豪~豪插件合集-7_0_102_0.zip"
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ModuleName": "PublishSetting",
|
"ModuleName": "PublishSetting",
|
||||||
@@ -2205,12 +2165,6 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ModuleName": "ServerCommand/测试回复JSON",
|
"ModuleName": "ServerCommand/测试回复JSON",
|
||||||
"State": 3,
|
|
||||||
"LockedBy": {
|
|
||||||
"UserName": "超哥",
|
|
||||||
"Email": "phoben@qq.com"
|
|
||||||
},
|
|
||||||
"LockDateTime": "2024-06-20T23:42:53.7143594+08:00",
|
|
||||||
"ModuleType": 15
|
"ModuleType": 15
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
Binary file not shown.
237
ServerCommands/AI/测试回复JSON.json
Normal file
237
ServerCommands/AI/测试回复JSON.json
Normal file
@@ -0,0 +1,237 @@
|
|||||||
|
{
|
||||||
|
"Name": "测试回复JSON",
|
||||||
|
"Enabled": true,
|
||||||
|
"Triggers": [
|
||||||
|
{
|
||||||
|
"$type": "Forguncy.SaveLoad.PostRequestTriggerSaveData, ServerDesignerCommon",
|
||||||
|
"Permission": {
|
||||||
|
"PermissionData": {
|
||||||
|
"$type": "Forguncy.RbacPermission.Core.Impl.ServerCommand.ServerCommandPermissionData, Forguncy.RbacPermission.Core",
|
||||||
|
"permissionResource": {
|
||||||
|
"$type": "Forguncy.RbacPermission.Core.Impl.ServerCommand.ServerCommandPermissionResource, Forguncy.RbacPermission.Core"
|
||||||
|
},
|
||||||
|
"permissionBindings": [
|
||||||
|
{
|
||||||
|
"$type": "Forguncy.RbacPermission.Core.Impl.ServerCommand.ServerCommandPermissionBinding, Forguncy.RbacPermission.Core",
|
||||||
|
"roleNames": [
|
||||||
|
"FGC_LoginUser"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Parameters": [
|
||||||
|
{
|
||||||
|
"Name": "项目ID",
|
||||||
|
"DataValidationInfo": {
|
||||||
|
"IgnoreBlank": false
|
||||||
|
},
|
||||||
|
"TestData": "2"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"InvokeTriggerTestData": {
|
||||||
|
"UserName": "Administrator"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"Commands": [
|
||||||
|
{
|
||||||
|
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
||||||
|
"ParameterName": "当前用户",
|
||||||
|
"ParameterValue": "%CurrentUser%",
|
||||||
|
"ID": "22d5b9ac2c1d44b7909b092cf426e1ef"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
||||||
|
"ParameterName": "项目",
|
||||||
|
"TableValue": {
|
||||||
|
"TableName": "项目表",
|
||||||
|
"TableValueType": 1,
|
||||||
|
"BindingInfos": [
|
||||||
|
{
|
||||||
|
"GUID": "d2c29a63-a2e8-413c-b1d0-56474a78b2b2",
|
||||||
|
"BindingInfo": {
|
||||||
|
"TableName": "项目表",
|
||||||
|
"ColumnName": "项目名称",
|
||||||
|
"GUID": "859fc8d2-4cf6-456d-8f69-b1639d6fe7ae"
|
||||||
|
},
|
||||||
|
"ColumnName": "项目名称"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"GUID": "8163ca70-051a-4cb2-ae0f-bedd0b91de5c",
|
||||||
|
"BindingInfo": {
|
||||||
|
"TableName": "项目表",
|
||||||
|
"ColumnName": "项目简介",
|
||||||
|
"GUID": "a0db1a7b-3b83-48d8-a970-06e23169a0c9"
|
||||||
|
},
|
||||||
|
"ColumnName": "项目简介"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"SqlCondition": {
|
||||||
|
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
||||||
|
"ColumnBindingInfo": {
|
||||||
|
"TableName": "项目表",
|
||||||
|
"ColumnName": "ID",
|
||||||
|
"GUID": "4ac54688-e12a-40d2-8238-c4757d8dcc24"
|
||||||
|
},
|
||||||
|
"Value": {
|
||||||
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||||
|
"SerializeProperty": "=项目ID"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"TopCount": "1"
|
||||||
|
},
|
||||||
|
"ID": "87d4b62fc3e246d2a0deb149c6f42dff"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
|
||||||
|
"ConditionAndCommandPairList": [
|
||||||
|
{
|
||||||
|
"Condition": {
|
||||||
|
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
|
||||||
|
"param": {
|
||||||
|
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
|
||||||
|
"ParamObject": {
|
||||||
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||||
|
"SerializeProperty": "=项目"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"value": "%Null%",
|
||||||
|
"compareType": 1
|
||||||
|
},
|
||||||
|
"CommandList": [
|
||||||
|
{
|
||||||
|
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
|
||||||
|
"ConditionAndCommandPairList": [
|
||||||
|
{
|
||||||
|
"Condition": {
|
||||||
|
"$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess",
|
||||||
|
"SubConditions": [
|
||||||
|
{
|
||||||
|
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
|
||||||
|
"param": {
|
||||||
|
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
|
||||||
|
"ParamObject": {
|
||||||
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||||
|
"SerializeProperty": "=项目.项目名称"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"value": "%Null%",
|
||||||
|
"compareType": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
|
||||||
|
"param": {
|
||||||
|
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
|
||||||
|
"ParamObject": {
|
||||||
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||||
|
"SerializeProperty": "=项目.项目简介"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"value": "%Null%",
|
||||||
|
"compareType": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
|
||||||
|
"param": {
|
||||||
|
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
|
||||||
|
"ParamObject": {
|
||||||
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||||
|
"SerializeProperty": "=LEN(项目.项目简介)"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"value": "12",
|
||||||
|
"compareType": 5
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"CommandList": [
|
||||||
|
{
|
||||||
|
"$type": "CollectionOperationKit.ServerSideObjectOp, CollectionOperationKit",
|
||||||
|
"OperationParamaterPairs": [
|
||||||
|
{
|
||||||
|
"Name": "role",
|
||||||
|
"Value": "user"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Name": "content",
|
||||||
|
"Value": {
|
||||||
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||||
|
"SerializeProperty": "=\"我的项目名称为:\"&项目.项目名称&\",项目简介:\"&项目.项目简介&\"。请你发挥创意,帮我生成一段英文描述词,回复中请不要携带任何引导语、说明语,只能返回你生成的图片描述。\""
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"OutParamaterName": "user"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$type": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit",
|
||||||
|
"InParamater": {
|
||||||
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||||
|
"SerializeProperty": "=user"
|
||||||
|
},
|
||||||
|
"Operation": 15,
|
||||||
|
"OutParamaterName": "消息列表"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$type": "OPENAIFORGUNCY.Completions, OPENAIFORGUNCY",
|
||||||
|
"URL": "https://openai.api2d.net",
|
||||||
|
"APIKEY": "fk211858-C6yKrsealBkvHao04yT9Ypg6GR0NVPyh",
|
||||||
|
"ORGANIZATION": "",
|
||||||
|
"IsDataSource": "json",
|
||||||
|
"MessageJSON": {
|
||||||
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||||
|
"SerializeProperty": "=消息列表"
|
||||||
|
},
|
||||||
|
"Parameter": {
|
||||||
|
"Model": 47,
|
||||||
|
"Temperature": 1.0,
|
||||||
|
"TopP": 1.0,
|
||||||
|
"MaxTokens": 100,
|
||||||
|
"SystemContent": "我需要为我的项目生成一张封面图片,需要你帮我生成Prompt英文关键词,用来描述这张图片,以便AI能够准确生成,你可以根据我提供的项目信息,来生成合适的图片描述,以职业、商务、工作主题为主,风格为真实摄影,场景可以是办公楼、办公室、工作场景等,灯光明亮自然,可以抽象一些,而且不要包含明显人物。需要注意的是,你的回复应该只包含我需要的描述,不需要任何其他引导性、说明性文字。",
|
||||||
|
"Response_format": "text"
|
||||||
|
},
|
||||||
|
"Tools": [],
|
||||||
|
"ResultTo": "result",
|
||||||
|
"CommandList": [
|
||||||
|
{
|
||||||
|
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
||||||
|
"ErrorCode": "0",
|
||||||
|
"Message": {
|
||||||
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||||
|
"SerializeProperty": "=result.content"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"ID": "7a09a53a-2f05-4624-bea8-e637b45a513a"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"CommandList": [
|
||||||
|
{
|
||||||
|
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
||||||
|
"ErrorCode": "400",
|
||||||
|
"Message": "项目资料不全,请在项目简介中尽量详细说明项目背景、使用场景、使用人群等。"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"ID": "58d2354e-1e9d-4ea0-ae84-d086849f234e"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"ID": "90a9b15d-09fd-4a98-bc9a-5b0c947751f0"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"CommandList": [
|
||||||
|
{
|
||||||
|
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
||||||
|
"ErrorCode": "400",
|
||||||
|
"Message": "项目不存在"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"ID": "1d59fcbf-7880-457e-ba70-c60f36a57621"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user