{ "$type": "Forguncy.SaveLoad.ServerCommandSaveData, ServerDesignerCommon", "Name": "测试回复JSON", "Enabled": true, "Triggers": { "$type": "System.Collections.Generic.List`1[[Forguncy.SaveLoad.TriggerSaveDataBase, ServerDesignerCommon]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.SaveLoad.PostRequestTriggerSaveData, ServerDesignerCommon", "Permission": { "$type": "Forguncy.SaveLoad.ServerCommandPermissionSaveData, ServerDesignerCommon", "PermissionData": { "$type": "Forguncy.RbacPermission.Core.Impl.ServerCommand.ServerCommandPermissionData, Forguncy.RbacPermission.Core", "permissionResource": { "$type": "Forguncy.RbacPermission.Core.Impl.ServerCommand.ServerCommandPermissionResource, Forguncy.RbacPermission.Core" }, "permissionBindings": { "$type": "System.Collections.Generic.List`1[[Forguncy.RbacPermission.Core.Impl.ServerCommand.IServerCommandPermissionBinding, Forguncy.RbacPermission.Core]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.RbacPermission.Core.Impl.ServerCommand.ServerCommandPermissionBinding, Forguncy.RbacPermission.Core", "roleNames": { "$type": "System.Collections.Generic.List`1[[System.String, System.Private.CoreLib]], System.Private.CoreLib", "$values": [ "FGC_LoginUser" ] } } ] } } }, "Parameters": { "$type": "System.Collections.Generic.List`1[[Forguncy.SaveLoad.PostRequestParameterSaveData, ServerDesignerCommon]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.SaveLoad.PostRequestParameterSaveData, ServerDesignerCommon", "Name": "项目ID", "DataValidationInfo": { "$type": "Forguncy.SaveLoad.DataValidationInfoSaveData, ServerDesignerCommon", "IgnoreBlank": false }, "TestData": "2" } ] }, "InvokeTriggerTestData": { "$type": "Forguncy.SaveLoad.InvokeTriggerTestDataSaveData, ServerDesignerCommon", "UserName": "Administrator" } } ] }, "Commands": { "$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", "ParameterName": "当前用户", "ParameterValue": "%CurrentUser%", "ID": "22d5b9ac2c1d44b7909b092cf426e1ef", "BreakpointIdentity": "21d74359-2b5e-4030-bc07-bc39ffbe545a" }, { "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", "ParameterName": "项目", "TableValue": { "$type": "Forguncy.Model.Commands.ParameterTableValue, ServerDesignerCommon", "TableName": "项目表", "TableValueType": 1, "BindingInfos": { "$type": "System.Collections.Generic.List`1[[Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon", "GUID": "d2c29a63-a2e8-413c-b1d0-56474a78b2b2", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "项目表", "ColumnName": "项目名称", "GUID": "859fc8d2-4cf6-456d-8f69-b1639d6fe7ae" }, "ColumnName": "项目名称" }, { "$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon", "GUID": "8163ca70-051a-4cb2-ae0f-bedd0b91de5c", "BindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "项目表", "ColumnName": "项目简介", "GUID": "a0db1a7b-3b83-48d8-a970-06e23169a0c9" }, "ColumnName": "项目简介" } ] }, "SqlCondition": { "$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess", "ColumnBindingInfo": { "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "项目表", "ColumnName": "ID", "GUID": "4ac54688-e12a-40d2-8238-c4757d8dcc24" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=项目ID" } }, "TopCount": "1" }, "ID": "87d4b62fc3e246d2a0deb149c6f42dff", "BreakpointIdentity": "5f37b509-f073-4c45-9330-f30a9d79529c" }, { "$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon", "ConditionAndCommandPairList": { "$type": "System.Collections.Generic.List`1[[Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon", "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": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon", "ConditionAndCommandPairList": { "$type": "System.Collections.Generic.List`1[[Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon", "Condition": { "$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess", "SubConditions": { "$type": "System.Collections.Generic.List`1[[ForguncyDataAccess.ISqlCondition, ForguncyDataAccess]], System.Private.CoreLib", "$values": [ { "$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": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib", "$values": [ { "$type": "CollectionOperationKit.ServerSideObjectOp, CollectionOperationKit", "OperationParamaterPairs": { "$type": "System.Collections.Generic.List`1[[CollectionOperationKit.PropertyValueObject, CollectionOperationKit]], System.Private.CoreLib", "$values": [ { "$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit", "Name": "role", "Value": "user" }, { "$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit", "Name": "content", "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=\"我的项目名称为:\"&项目.项目名称&\",项目简介:\"&项目.项目简介&\"。请你发挥创意,帮我生成一段英文描述词,回复中请不要携带任何引导语、说明语,只能返回你生成的图片描述。\"" } } ] }, "OutParamaterName": "user", "BreakpointIdentity": "abb3d858-91bc-42a6-b841-6d225283eae0" }, { "$type": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit", "InParamater": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=user" }, "Operation": 15, "OutParamaterName": "消息列表", "BreakpointIdentity": "d93ce569-f160-4243-a852-c6eccc2937ad" }, { "$type": "OPENAIFORGUNCY.Completions, OPENAIFORGUNCY", "URL": "https://openai.api2d.net", "APIKEY": "fk211858-C6yKrsealBkvHao04yT9Ypg6GR0NVPyh", "ORGANIZATION": "", "IsDataSource": "json", "MessageJSON": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=消息列表" }, "Parameter": { "$type": "OPENAIFORGUNCY.ParameterObject, OPENAIFORGUNCY", "Model": 47, "Temperature": 1.0, "TopP": 1.0, "MaxTokens": 100, "SystemContent": "我需要为我的项目生成一张封面图片,需要你帮我生成Prompt英文关键词,用来描述这张图片,以便AI能够准确生成,你可以根据我提供的项目信息,来生成合适的图片描述,以职业、商务、工作主题为主,风格为真实摄影,场景可以是办公楼、办公室、工作场景等,灯光明亮自然,可以抽象一些,而且不要包含明显人物。需要注意的是,你的回复应该只包含我需要的描述,不需要任何其他引导性、说明性文字。", "Response_format": "text" }, "Tools": { "$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Plugin.INamedObject, GrapeCity.Forguncy.Plugin]], System.Private.CoreLib", "$values": [] }, "ResultTo": "result", "CommandList": { "$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", "ErrorCode": "0", "Message": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=result.content" }, "BreakpointIdentity": "7fa02d89-087e-4d61-883f-09d370171189" } ] }, "BreakpointIdentity": "c30ce380-1a7e-403c-814f-93f21c0c6dec" } ] }, "ID": "daaf51e1-2b50-45b8-9e69-678707a75a38" }, { "$type": "Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon", "CommandList": { "$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", "ErrorCode": "400", "Message": "项目资料不全,请在项目简介中尽量详细说明项目背景、使用场景、使用人群等。", "BreakpointIdentity": "2ee44ac4-91d0-44b1-80d7-8ad7080499a8" } ] }, "ID": "35255ac9-eea9-45ac-8364-184d48da6026" } ] }, "BreakpointIdentity": "ec74a0d2-0ca3-44f0-b9e9-5ddf54f16636" } ] }, "ID": "7195e2ac-4a85-469d-9efd-d4f048e9f176" }, { "$type": "Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon", "CommandList": { "$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib", "$values": [ { "$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", "ErrorCode": "400", "Message": "项目不存在", "BreakpointIdentity": "0f670206-dd48-4c94-8c6d-8c4819d77a36" } ] }, "ID": "1b3ebc1f-6899-409f-b810-d9ab44e7840f" } ] }, "BreakpointIdentity": "f0a9c57c-a5c1-4b2b-a9c5-123d7a8e36e3" } ] } }