{"Message":"1","MessageType":2,"Modules":[{"State":1,"Type":1,"Name":"PCPage/新增报工"},{"State":1,"Type":1,"Name":"PCPage/分配计划工时"},{"State":1,"Type":1,"Name":"PCPage/汇报详情"},{"State":1,"Type":15,"Name":"ServerCommand/AI内容转报工数据"},{"State":1,"Type":15,"Name":"ServerCommand/AI报工数据转日报"}],"Version":"v1"}

This commit is contained in:
SHAMUSPC\NINGMEI
2024-04-24 16:26:10 +08:00
parent b99abb29aa
commit 79dcf1c019
10 changed files with 249 additions and 395 deletions

View File

@@ -92,7 +92,6 @@
"$type": "OPENAIFORGUNCY.Completions, OPENAIFORGUNCY",
"URL": "https://oa.api2d.net",
"APIKEY": "fk211858-C6yKrsealBkvHao04yT9Ypg6GR0NVPyh",
"ORGANIZATION": "",
"IsDataSource": "json",
"MessageJSON": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -100,7 +99,6 @@
},
"Parameter": {
"Model": 43,
"Number": 1,
"Temperature": 1.0,
"TopP": 1.0,
"MaxTokens": 3000,
@@ -254,251 +252,155 @@
}
}
],
"ResultTo": "result"
},
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "第一条消息",
"ParameterValue": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=result.choices.0.delta"
},
"ID": "76606e9f5c17475389f1432aada4e34d"
},
{
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
"ConditionAndCommandPairList": [
"ResultTo": "result",
"CommandList": [
{
"Condition": {
"$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess",
"SubConditions": [
{
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
"ParamObject": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=第一条消息.tool_calls"
}
},
"value": "%Null%",
"compareType": 1
},
{
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
"ParamObject": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=第一条消息.tool_calls.Count"
}
},
"value": "0",
"compareType": 2
}
]
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "第一条消息",
"ParameterValue": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=result.choices.0.delta"
},
"CommandList": [
"ID": "e64b8c9ac33645ffb3001c151acc8918"
},
{
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
"ConditionAndCommandPairList": [
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "第一条命令",
"ParameterValue": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=第一条消息.tool_calls.0.function"
},
"ID": "71cc339549c14ef6ab89d4df1ab33791"
},
{
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
"ConditionAndCommandPairList": [
{
"Condition": {
"Condition": {
"$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess",
"SubConditions": [
{
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
"ParamObject": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=第一条命令.name"
"SerializeProperty": "=第一条消息.tool_calls"
}
},
"value": "CreateReportData"
"value": "%Null%",
"compareType": 1
},
"CommandList": [
{
"$type": "JsonUtilityCommand.JsonDeserializeCommand, JsonUtilityCommand",
"JsonString": {
{
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
"ParamObject": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=第一条命令.arguments"
},
"SampleJson": "{\r\n \"reportList\": [\r\n {\r\n \"type\": \"日报\",\r\n \"content\": \"今天和报价系统部门做了沟通,了解了关于成本的细节\",\r\n \"time\": 120\r\n },\r\n {\r\n \"type\": \"日报\",\r\n \"content\": \"对发票标准版系统进行了升级\",\r\n \"time\": 0\r\n },\r\n {\r\n \"type\": \"日报\",\r\n \"content\": \"研究了时间轮插件,并进行了测试\",\r\n \"time\": 120\r\n },\r\n {\r\n \"type\": \"计划\",\r\n \"content\": \"继续测试时间轮插件\",\r\n \"time\": 0\r\n },\r\n {\r\n \"type\": \"计划\",\r\n \"content\": \"更新发票标准版系统的离线发布文件,并部署到测试服务器\",\r\n \"time\": 0\r\n },\r\n {\r\n \"type\": \"计划\",\r\n \"content\": \"完善PMS\",\r\n \"time\": 60\r\n }\r\n ]\r\n}",
"ToParameter": "arguments"
"SerializeProperty": "=第一条消息.tool_calls.Count"
}
},
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "reportList",
"ParameterValue": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=arguments.reportList"
},
"ID": "6fba4b5f2a574cf08a7c6c685c9ddacf"
},
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "0",
"Message": "生成完毕",
"CustomReturns": [
{
"ReturnPropertyName": "日报JSON",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=reportList"
}
}
]
}
],
"ID": "60df54c2-2839-459d-b58a-c5bdc29f8aa5"
"value": "0",
"compareType": 2
}
]
},
"CommandList": [
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "第一条命令",
"ParameterValue": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=第一条消息.tool_calls.0.function"
},
"ID": "71cc339549c14ef6ab89d4df1ab33791"
},
{
"CommandList": [
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
"ConditionAndCommandPairList": [
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "0",
"Message": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=第一条消息.content"
"Condition": {
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
"ParamObject": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=第一条命令.name"
}
},
"value": "CreateReportData"
},
"CustomReturns": [
"CommandList": [
{
"ReturnPropertyName": "日报JSON"
"$type": "JsonUtilityCommand.JsonDeserializeCommand, JsonUtilityCommand",
"JsonString": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=第一条命令.arguments"
},
"SampleJson": "{\r\n \"reportList\": [\r\n {\r\n \"type\": \"日报\",\r\n \"content\": \"今天和报价系统部门做了沟通,了解了关于成本的细节\",\r\n \"time\": 120\r\n },\r\n {\r\n \"type\": \"日报\",\r\n \"content\": \"对发票标准版系统进行了升级\",\r\n \"time\": 0\r\n },\r\n {\r\n \"type\": \"日报\",\r\n \"content\": \"研究了时间轮插件,并进行了测试\",\r\n \"time\": 120\r\n },\r\n {\r\n \"type\": \"计划\",\r\n \"content\": \"继续测试时间轮插件\",\r\n \"time\": 0\r\n },\r\n {\r\n \"type\": \"计划\",\r\n \"content\": \"更新发票标准版系统的离线发布文件,并部署到测试服务器\",\r\n \"time\": 0\r\n },\r\n {\r\n \"type\": \"计划\",\r\n \"content\": \"完善PMS\",\r\n \"time\": 60\r\n }\r\n ]\r\n}",
"ToParameter": "arguments"
},
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "reportList",
"ParameterValue": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=arguments.reportList"
},
"ID": "6fba4b5f2a574cf08a7c6c685c9ddacf"
},
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "0",
"Message": "生成完毕",
"CustomReturns": [
{
"ReturnPropertyName": "日报JSON",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=reportList"
}
}
]
}
]
],
"ID": "2bbf012d-0a2f-4bfc-96fe-b8a51478c893"
},
{
"CommandList": [
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "0",
"Message": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=第一条消息.content"
},
"CustomReturns": [
{
"ReturnPropertyName": "日报JSON"
}
]
}
],
"ID": "8ec03356-8284-457b-9d71-2641bb12bd94"
}
],
"ID": "da6ed090-e0aa-4fa0-b22a-a1105b688201"
]
}
]
}
],
"ID": "42aca21c-1cf5-45a7-b67d-5cb3037c30a2"
},
{
"CommandList": [
],
"ID": "5630a4de-fbc5-4d3d-9918-cc5cc98e48a2"
},
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "0",
"Message": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=第一条消息.content"
},
"CustomReturns": [
"CommandList": [
{
"ReturnPropertyName": "日报JSON"
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "0",
"Message": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=第一条消息.content"
},
"CustomReturns": [
{
"ReturnPropertyName": "日报JSON"
}
]
}
]
],
"ID": "248dc6c4-ddae-4403-b702-129f935b6591"
}
],
"ID": "eafe1dc4-aa54-4e9c-8b05-1b76f8a2f0dd"
]
}
]
},
{
"$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": "=result"
}
},
"value": "%Null%",
"compareType": 1
},
"CommandList": [
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "回复消息",
"ParameterValue": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=result.choices.0.delta.content"
},
"ID": "36dd5c08a29d413d999efba0c51c84bf"
},
{
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
"TableName": "汇报记录表",
"ShowConfirm": false,
"RowsToUpdate": 1,
"RowsToUpdateCondition": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "汇报记录表",
"ColumnName": "ID",
"GUID": "bcf306d3-379f-40af-bfb6-b7898ba65c7b"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=汇报人"
}
},
"UpdateBindingValues": [
{
"BindingInfo": {
"TableName": "汇报记录表",
"ColumnName": "概要",
"GUID": "26feda8c-de81-4844-8447-3ca697c4f505"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=第一条消息"
}
}
]
},
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "0",
"Message": "生成完成",
"CustomReturns": [
{
"ReturnPropertyName": "日报JSON",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=第一条消息"
}
}
]
}
],
"ID": "91c4ddef-2d4c-4af1-97cf-81124fafdd66"
},
{
"CommandList": [
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=返回结果.error_code"
},
"Message": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=返回结果.error_msg"
},
"CustomReturns": [
{
"ReturnPropertyName": "日报JSON"
}
]
}
],
"ID": "bc934775-5772-4ddd-be5c-b3efd191e6d1"
}
],
"Disabled": true
}
],
"ReturnProperties": [

View File

@@ -149,7 +149,6 @@
},
"Parameter": {
"Model": 43,
"Number": 1,
"Temperature": 1.0,
"TopP": 1.0,
"MaxTokens": 3000,
@@ -160,71 +159,73 @@
"Response_format": "text"
},
"Tools": [],
"ResultTo": "result"
},
{
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
"ConditionAndCommandPairList": [
"ResultTo": "result",
"CommandList": [
{
"Condition": {
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
"ParamObject": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=result"
}
},
"value": "%Null%",
"compareType": 1
},
"CommandList": [
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
"ConditionAndCommandPairList": [
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "回复消息",
"ParameterValue": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=result.choices.0.delta.content"
},
"ID": "39923e69847142ef9112d1f7ff63b431"
},
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "0",
"Message": "生成完成",
"CustomReturns": [
{
"ReturnPropertyName": "生成文本",
"Value": {
"Condition": {
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
"ParamObject": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=回复消息"
"SerializeProperty": "=result"
}
}
]
}
],
"ID": "dbdf0e96-358e-42dc-a61d-f09dd8cb86a1"
},
{
"CommandList": [
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=返回结果.error_code"
},
"value": "%Null%",
"compareType": 1
},
"Message": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=返回结果.error_msg"
},
"CustomReturns": [
"CommandList": [
{
"ReturnPropertyName": "生成文本"
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "回复消息",
"ParameterValue": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=result.choices.0.delta.content"
},
"ID": "39923e69847142ef9112d1f7ff63b431"
},
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "0",
"Message": "生成完成",
"CustomReturns": [
{
"ReturnPropertyName": "生成文本",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=回复消息"
}
}
]
}
]
],
"ID": "c682b2d2-7253-43d4-b57f-e979981af543"
},
{
"CommandList": [
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=返回结果.error_code"
},
"Message": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=返回结果.error_msg"
},
"CustomReturns": [
{
"ReturnPropertyName": "生成文本"
}
]
}
],
"ID": "7e03f0e5-4ff6-4984-96d9-32b64d1e071e"
}
],
"ID": "a04a35d9-d9e6-49fa-9dfe-a3660e371ce6"
]
}
]
}