{"Message":"优化项目汇报生成模板","MessageType":2,"Modules":[{"State":1,"Type":27,"Name":"ServerCommandPrivate/AI生成项目汇报"}],"Version":"v1"}

This commit is contained in:
cuckooent
2024-11-25 09:58:50 +08:00
parent d681b7775c
commit 34336a8340
2 changed files with 25 additions and 49 deletions

View File

@@ -2558,16 +2558,7 @@
}, },
{ {
"ModuleName": "ServerCommandPrivate/AI生成项目汇报", "ModuleName": "ServerCommandPrivate/AI生成项目汇报",
"State": 1, "ModuleType": 27
"LockedBy": {
"UserName": "cuckooent",
"Email": "phoben@qq.com"
},
"LockDateTime": "2024-11-25T09:37:28.0555786+08:00",
"ModuleType": 27,
"ToRemoveFiles": [
"ServerCommands\\汇报\\AI生成项目汇报.json"
]
}, },
{ {
"ModuleName": "TaskScheduler/每周生成周报", "ModuleName": "TaskScheduler/每周生成周报",

View File

@@ -17,7 +17,7 @@
"$type": "Forguncy.SaveLoad.DataValidationInfoSaveData, ServerDesignerCommon", "$type": "Forguncy.SaveLoad.DataValidationInfoSaveData, ServerDesignerCommon",
"IgnoreBlank": false "IgnoreBlank": false
}, },
"TestData": "8" "TestData": "6"
}, },
{ {
"$type": "Forguncy.SaveLoad.PostRequestParameterSaveData, ServerDesignerCommon", "$type": "Forguncy.SaveLoad.PostRequestParameterSaveData, ServerDesignerCommon",
@@ -25,7 +25,8 @@
"DataValidationInfo": { "DataValidationInfo": {
"$type": "Forguncy.SaveLoad.DataValidationInfoSaveData, ServerDesignerCommon", "$type": "Forguncy.SaveLoad.DataValidationInfoSaveData, ServerDesignerCommon",
"IgnoreBlank": false "IgnoreBlank": false
} },
"TestData": "周报"
}, },
{ {
"$type": "Forguncy.SaveLoad.PostRequestParameterSaveData, ServerDesignerCommon", "$type": "Forguncy.SaveLoad.PostRequestParameterSaveData, ServerDesignerCommon",
@@ -34,7 +35,7 @@
"$type": "Forguncy.SaveLoad.DataValidationInfoSaveData, ServerDesignerCommon", "$type": "Forguncy.SaveLoad.DataValidationInfoSaveData, ServerDesignerCommon",
"IgnoreBlank": false "IgnoreBlank": false
}, },
"TestData": "2024-11-11" "TestData": "2024-11-18"
} }
] ]
}, },
@@ -163,9 +164,9 @@
"ParameterName": "反馈网址", "ParameterName": "反馈网址",
"ParameterValue": { "ParameterValue": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=baseUrl&appName&\"?ID=\"&项目ID" "SerializeProperty": "=baseUrl&\"/FGC_%E7%BB%B4%E6%8A%A4%E4%B8%AD?ID=\"&项目ID"
}, },
"ID": "93e831d388714f2f8930cdfe36bb92ca", "ID": "f28eaa9be61e4024916e58bc0a96f224",
"BreakpointIdentity": "cfb3fe18-fe8a-4ef4-b55b-104cf0070412" "BreakpointIdentity": "cfb3fe18-fe8a-4ef4-b55b-104cf0070412"
}, },
{ {
@@ -175,7 +176,7 @@
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=日期-WEEKDAY(日期,3)" "SerializeProperty": "=日期-WEEKDAY(日期,3)"
}, },
"ID": "53bacb13fa2943248b3074c3c7f63de5", "ID": "946994b143a44e5586a662016b76d42b",
"BreakpointIdentity": "9483c6ff-0d2e-4ac0-9726-43b6dcca805c" "BreakpointIdentity": "9483c6ff-0d2e-4ac0-9726-43b6dcca805c"
}, },
{ {
@@ -185,7 +186,7 @@
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=开始日期-WEEKDAY(开始日期,3)+6" "SerializeProperty": "=开始日期-WEEKDAY(开始日期,3)+6"
}, },
"ID": "30b04256e0224b0786286d2b1e1524e7", "ID": "b6c67c83f1da4dd2bdf01b86fba3972d",
"BreakpointIdentity": "33a41b86-1c45-4c0b-9ab4-0c192bf86ae8" "BreakpointIdentity": "33a41b86-1c45-4c0b-9ab4-0c192bf86ae8"
}, },
{ {
@@ -199,7 +200,7 @@
"$values": [ "$values": [
{ {
"$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon", "$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon",
"GUID": "6ab67c7e-2a3a-4db4-8f69-260df73423d1", "GUID": "cafd1044-dd92-46f0-98b3-74fbe70fdaf9",
"BindingInfo": { "BindingInfo": {
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
"TableName": "任务工时表", "TableName": "任务工时表",
@@ -210,7 +211,7 @@
}, },
{ {
"$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon", "$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon",
"GUID": "931bcf03-15f0-4869-a9b8-e14ed68f62e0", "GUID": "3fb4e877-e8c7-4d06-be48-7092629e456a",
"BindingInfo": { "BindingInfo": {
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
"TableName": "任务工时表", "TableName": "任务工时表",
@@ -299,7 +300,7 @@
}, },
"NullFormulaValueQueryPolicy": 2 "NullFormulaValueQueryPolicy": 2
}, },
"ID": "45d4c4d9eb00402cafd563ca2d0d7207", "ID": "1b15aadaa9e348d5b9344ffb2bab93b7",
"BreakpointIdentity": "852dcb83-2877-4a02-b1d5-70071e8d7534" "BreakpointIdentity": "852dcb83-2877-4a02-b1d5-70071e8d7534"
}, },
{ {
@@ -313,7 +314,7 @@
"$values": [ "$values": [
{ {
"$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon", "$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon",
"GUID": "6c304078-340a-45ed-a38d-1220c1e04e68", "GUID": "86c5d8f6-bb46-4d8c-b7f5-06155153bc49",
"BindingInfo": { "BindingInfo": {
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
"TableName": "汇报记录表", "TableName": "汇报记录表",
@@ -381,7 +382,8 @@
} }
} }
}, },
"ID": "ed48af9eadb3450d9bc15ef5d33c519d", "ID": "666e00a2d648430d9fec453477ab4be4",
"Disabled": true,
"BreakpointIdentity": "c0f60bcd-40d3-433a-9932-c54416129de3" "BreakpointIdentity": "c0f60bcd-40d3-433a-9932-c54416129de3"
}, },
{ {
@@ -395,7 +397,7 @@
"$values": [ "$values": [
{ {
"$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon", "$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon",
"GUID": "07ab2ec5-76ef-4c51-bc87-38db10b2a9c4", "GUID": "aa3e66d5-d1cd-4bd9-b637-34ee465362be",
"BindingInfo": { "BindingInfo": {
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
"TableName": "项目发布记录", "TableName": "项目发布记录",
@@ -412,7 +414,7 @@
}, },
{ {
"$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon", "$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon",
"GUID": "a6df17c1-3532-4d77-b486-7ecc7586a367", "GUID": "d71b1dfb-7b46-4703-8dad-be620d20773a",
"BindingInfo": { "BindingInfo": {
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
"TableName": "项目发布记录", "TableName": "项目发布记录",
@@ -473,7 +475,7 @@
} }
} }
}, },
"ID": "4dec5f8ddd6b4319bc12b3ec85565e01", "ID": "e05c12066a46452d9e6f0713a4e42782",
"BreakpointIdentity": "4f6e6838-2384-4912-b031-07f676092857" "BreakpointIdentity": "4f6e6838-2384-4912-b031-07f676092857"
}, },
{ {
@@ -619,17 +621,6 @@
}, },
"value": "0" "value": "0"
}, },
{
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
"ParamObject": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=日报列表.Count"
}
},
"value": "0"
},
{ {
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon", "$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": { "param": {
@@ -675,7 +666,7 @@
} }
] ]
}, },
"ID": "55871cba-29ed-4784-b01e-f1ead5bebc75" "ID": "d6614b88-5933-4385-986b-78f1621659e3"
} }
] ]
}, },
@@ -694,14 +685,6 @@
"SerializeProperty": "=工时记录" "SerializeProperty": "=工时记录"
} }
}, },
{
"$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit",
"Name": "日报列表",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=日报列表"
}
},
{ {
"$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit", "$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit",
"Name": "发布日志", "Name": "发布日志",
@@ -734,13 +717,13 @@
}, },
{ {
"$type": "ContentEditor.ContentEditor, ContentEditor", "$type": "ContentEditor.ContentEditor, ContentEditor",
"Content": "你是一名优秀的项目经理,你需要定期给客户进行一次项目汇报,你需要根据过去一周的工作数据,对本次项目撰写“项目[=汇报类型]”,一份专业、易读的项目[=汇报类型],能给你客户好的感受,也能让你获得高额的奖金,请认真对待。", "Content": "你是一名优秀的项目经理,你需要定期给客户进行一次项目汇报。\r\n你需要对给出的工作数据进行筛选、分析、总结。\r\n对本次项目撰写“项目[=汇报类型]”,一份专业、易读的项目[=汇报类型]。\r\n给客户好的感受,也能让你获得高额的奖金,请认真对待。",
"Result": "前置提示语", "Result": "前置提示语",
"BreakpointIdentity": "56791a69-c889-45af-b900-66946fe11b5f" "BreakpointIdentity": "56791a69-c889-45af-b900-66946fe11b5f"
}, },
{ {
"$type": "ContentEditor.ContentEditor, ContentEditor", "$type": "ContentEditor.ContentEditor, ContentEditor",
"Content": "```项目信息\r\n项目名称[=项目信息.项目名称]\r\n项目经理[=项目信息.项目经理_全名]\r\n项目经理邮箱[=项目信息.项目经理_邮件]\r\n开始日期[=TEXT(开始日期,\"YYYY-MM-DD\")]\r\n结束时间[=TEXT(结束日期,\"YYYY-MM-DD\")]\r\n项目反馈地址[=反馈网址]\r\n```\r\n```引用数据\r\n[=参考记录字符串]\r\n```\r\n### 背景介绍\r\n上面我分别提供了项目信息和引用数据两组数据,其中`引用数据`为一个JSON对象是来自于项目的过程中产生的工作数据。\r\n### 我的需求\r\n1. 你需要根据`引用数据`,进行理解、分析、整理、总结,最终生成一份“项目[=汇报类型]”;\r\n2. `引用数据`中需要注意,`日报列表`中包含了一些其他项目的记录,需要忽略,不要总结到本次[=汇报类型]中;\r\n3. 除了`日报列表`以外,其他属性中的数据,都是该项目相关数据,无其他项目数据,你都需要总结;\r\n4. 请根据所属的任务、工作内容特性,正确的进行归类总结,不需要对工时、工作量的个内容进行汇报;\r\n5. 下周计划内容,请从引用数据中总结,如果无法从中总结出有用信息,可以写一些通用的文案,表达按计划正常推进工作即可;\r\n6. 如果\"发布日志\"里存在版本更新,请在本次汇报中强调;\r\n7. 请在汇报的末尾增加一个\"-\"组成的分割线,然后在分割线后,将项目经理的信息放在后面,再加上一个欢迎用户在`项目反馈地址`积极反馈的结束语。\r\n### 回复格式\r\n1. 请不要使用MarkDown语法进行排版我需要纯文本格式 但可以合理使用一些符号来区分标题和内容;\r\n2. 请不要回复与周报内容无关的任何内容,包括引导词、解释语、客套语等;\r\n3. 回答风格需要专业、严谨、简洁,不要过于啰嗦和冗长;\r\n\r\n", "Content": "```引用数据\r\n[=参考记录字符串]\r\n```\r\n### 背景介绍\r\n上面`引用数据`为一个JSON对象是来自于项目的过程中产生的工作数据,请你根据这些内容撰写一篇“项目[=汇报类型]”。\r\n### 我的需求\r\n1. 你需要根据`引用数据`,进行理解、分析、整理、总结,按照标准模板生成一份“项目[=汇报类型]”;\r\n2. 请根据所属的任务、工作内容特性,正确的进行归类总结,不需要对工时、工作量进行汇报;\r\n3. 下周计划内容,请从引用数据中总结,如果无法从中总结出有用信息,可以写一些通用的文案,表达按计划正常推进工作即可;\r\n4. 如果\"发布日志\"里存在版本更新,请在本次汇报中强调;\r\n\r\n### 回复格式\r\n1. 请不要使用MarkDown语法进行排版我需要纯文本格式 但可以合理使用一些符号来区分标题和内容;\r\n2. 请不要回复与周报内容无关的任何内容,包括引导词、解释语、客套语等;\r\n3. 回答风格需要专业、严谨、简洁,不要过于啰嗦和冗长;\r\n4. 下方我给出一个标准模板,请将汇报内容进行填充;\r\n\r\n```标准模板\r\n[=TEXT(结束日期,\"YYYY-MM-DD\")] [=项目信息.项目名称] [=汇报类型]\r\n\r\n本[=LEFT(汇报类型,1)]工作....\r\n下[=LEFT(汇报类型,1)]计划...\r\n重要更新内容...\r\n问题与风险...\r\n\r\n----------------------------------\r\n项目经理[=项目信息.项目经理_全名]\r\n联系邮箱[=项目信息.项目经理_邮件]\r\n期待大家在项目反馈地址[=反馈网址] 提出宝贵的建议与反馈。欢迎您的积极参与与贡献。\r\n```\r\n",
"Result": "聊天内容", "Result": "聊天内容",
"BreakpointIdentity": "a82a0c68-1ddd-4c1c-8c42-cad37e127965" "BreakpointIdentity": "a82a0c68-1ddd-4c1c-8c42-cad37e127965"
}, },
@@ -790,6 +773,7 @@
"$type": "OPENAIFORGUNCY.Completions, OPENAIFORGUNCY", "$type": "OPENAIFORGUNCY.Completions, OPENAIFORGUNCY",
"URL": "https://openai.api2d.net", "URL": "https://openai.api2d.net",
"APIKEY": "fk211858-C6yKrsealBkvHao04yT9Ypg6GR0NVPyh", "APIKEY": "fk211858-C6yKrsealBkvHao04yT9Ypg6GR0NVPyh",
"ORGANIZATION": "",
"IsDataSource": "json", "IsDataSource": "json",
"MessageJSON": { "MessageJSON": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -801,6 +785,7 @@
"Temperature": 1.0, "Temperature": 1.0,
"TopP": 1.0, "TopP": 1.0,
"MaxTokens": 3000, "MaxTokens": 3000,
"SystemContent": "你是一个乐于助人的智能助手,请您为我解答我提出的问题。",
"Response_format": "text" "Response_format": "text"
}, },
"Tools": { "Tools": {
@@ -835,7 +820,7 @@
} }
] ]
}, },
"ID": "bac95d15-c44e-41bf-8b31-b9bc5f13c35e" "ID": "f00f4935-29a8-4c61-b3b0-043f49bb7b8b"
}, },
{ {
"$type": "Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon", "$type": "Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon",
@@ -859,7 +844,7 @@
} }
] ]
}, },
"ID": "68139950-6221-463b-be26-557818cd7073" "ID": "d73884b0-f956-42aa-b1a9-84c60034aabe"
} }
] ]
}, },