{"Message":"1","MessageType":2,"Modules":[{"State":1,"Type":7,"Name":"Table/项目表"},{"State":1,"Type":1,"Name":"PCPage/任务列表"},{"State":1,"Type":1,"Name":"PCPage/汇报详情"},{"State":1,"Type":12,"Name":"CustomLibrary"},{"State":1,"Type":15,"Name":"ServerCommand/AI内容转报工数据"},{"State":1,"Type":15,"Name":"ServerCommand/AI报工数据转日报"},{"State":3,"Type":1,"Name":"PCPage/AI任务助手"}],"Version":"v1"}
This commit is contained in:
@@ -61,171 +61,183 @@
|
||||
],
|
||||
"Commands": [
|
||||
{
|
||||
"$type": "JsonUtilityCommand.JsonDeserializeCommand, JsonUtilityCommand",
|
||||
"JsonString": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=全局配置"
|
||||
},
|
||||
"SampleJson": "{\"AI提示词1\":\"我将发给你一个记录着某人一天工作内容的数据,为JSON字符串,请你尝试解读它,内容中的[汇报类型]分为`日报`和`计划`。\\n- 日报指的是昨日工作内容的总结;\\n- 计划指的是今日计划工作安排;\\n请你使用为我编写一篇简要的工作日报,对于日报结构和要求如下:\\n标题为固定格式:YYYY年MM年DD月-某某工作日报\\n内容包含两个主题:昨日工作总结、今日工作计划\\n每个主题下的内容从JSON中总结,可以适当润色,但不可过度偏离源数据中的工作内容;\"}",
|
||||
"ToParameter": "全局配置JSON"
|
||||
},
|
||||
{
|
||||
"$type": "CollectionOperationKit.ServerSideObjectOp, CollectionOperationKit",
|
||||
"OperationParamaterPairs": [
|
||||
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
|
||||
"ConditionAndCommandPairList": [
|
||||
{
|
||||
"Name": "汇报日期",
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=汇报日期"
|
||||
}
|
||||
},
|
||||
{
|
||||
"Name": "汇报人",
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=汇报人"
|
||||
}
|
||||
},
|
||||
{
|
||||
"Name": "工作内容明细",
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=汇报数据"
|
||||
}
|
||||
}
|
||||
],
|
||||
"OutParamaterName": "汇报数据对象"
|
||||
},
|
||||
{
|
||||
"$type": "JsonUtilityCommand.JsonSerializeCommand, JsonUtilityCommand",
|
||||
"SourceObject": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=汇报数据对象"
|
||||
},
|
||||
"ToParameter": "汇报数据文本"
|
||||
},
|
||||
{
|
||||
"$type": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit",
|
||||
"OutParamaterName": "聊天记录"
|
||||
},
|
||||
{
|
||||
"$type": "CollectionOperationKit.ServerSideObjectOp, CollectionOperationKit",
|
||||
"OperationParamaterPairs": [
|
||||
{
|
||||
"Name": "role",
|
||||
"Value": "user"
|
||||
},
|
||||
{
|
||||
"Name": "content",
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=汇报数据文本"
|
||||
}
|
||||
}
|
||||
],
|
||||
"OutParamaterName": "我的消息"
|
||||
},
|
||||
{
|
||||
"$type": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit",
|
||||
"InParamater": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=聊天记录"
|
||||
},
|
||||
"Operation": 4,
|
||||
"OperationParamaterAName": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=我的消息"
|
||||
},
|
||||
"OutParamaterName": "聊天记录"
|
||||
},
|
||||
{
|
||||
"$type": "OPENAIFORGUNCY.Completions, OPENAIFORGUNCY",
|
||||
"URL": "https://oa.api2d.net",
|
||||
"APIKEY": "fk211858-C6yKrsealBkvHao04yT9Ypg6GR0NVPyh",
|
||||
"IsDataSource": "json",
|
||||
"MessageJSON": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=聊天记录"
|
||||
},
|
||||
"Parameter": {
|
||||
"Model": 43,
|
||||
"Temperature": 1.0,
|
||||
"TopP": 1.0,
|
||||
"MaxTokens": 3000,
|
||||
"SystemContent": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=全局配置JSON.AI提示词1"
|
||||
},
|
||||
"Response_format": "text"
|
||||
},
|
||||
"Tools": [],
|
||||
"ResultTo": "result",
|
||||
"CommandList": [
|
||||
{
|
||||
"$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": "39923e69847142ef9112d1f7ff63b431"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
||||
"ErrorCode": "0",
|
||||
"Message": "生成完成",
|
||||
"CustomReturns": [
|
||||
{
|
||||
"ReturnPropertyName": "生成文本",
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=回复消息"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"ID": "c682b2d2-7253-43d4-b57f-e979981af543"
|
||||
"Condition": {
|
||||
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
|
||||
"param": {
|
||||
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
|
||||
"ParamObject": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=汇报数据.Count"
|
||||
}
|
||||
},
|
||||
"value": "0",
|
||||
"compareType": 2
|
||||
},
|
||||
"CommandList": [
|
||||
{
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
||||
"ErrorCode": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=返回结果.error_code"
|
||||
"$type": "Forguncy.Model.CatchExceptionCommand, ServerDesignerCommon",
|
||||
"TryCommandPart": {
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "JsonUtilityCommand.JsonDeserializeCommand, JsonUtilityCommand",
|
||||
"JsonString": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=全局配置"
|
||||
},
|
||||
"SampleJson": "{\"AI提示词1\":\"我将发给你一个记录着某人一天工作内容的数据,为JSON字符串,请你尝试解读它,内容中的[汇报类型]分为`日报`和`计划`。\\n- 日报指的是昨日工作内容的总结;\\n- 计划指的是今日计划工作安排;\\n请你使用为我编写一篇简要的工作日报,对于日报结构和要求如下:\\n标题为固定格式:YYYY年MM年DD月-某某工作日报\\n内容包含两个主题:昨日工作总结、今日工作计划\\n每个主题下的内容从JSON中总结,可以适当润色,但不可过度偏离源数据中的工作内容;\"}",
|
||||
"ToParameter": "全局配置JSON"
|
||||
},
|
||||
"Message": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=返回结果.error_msg"
|
||||
{
|
||||
"$type": "CollectionOperationKit.ServerSideObjectOp, CollectionOperationKit",
|
||||
"OperationParamaterPairs": [
|
||||
{
|
||||
"Name": "汇报日期",
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=汇报日期"
|
||||
}
|
||||
},
|
||||
{
|
||||
"Name": "汇报人",
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=汇报人"
|
||||
}
|
||||
},
|
||||
{
|
||||
"Name": "工作内容明细",
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=汇报数据"
|
||||
}
|
||||
}
|
||||
],
|
||||
"OutParamaterName": "汇报数据对象"
|
||||
},
|
||||
"CustomReturns": [
|
||||
{
|
||||
"ReturnPropertyName": "生成文本"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"ID": "7e03f0e5-4ff6-4984-96d9-32b64d1e071e"
|
||||
{
|
||||
"$type": "JsonUtilityCommand.JsonSerializeCommand, JsonUtilityCommand",
|
||||
"SourceObject": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=汇报数据对象"
|
||||
},
|
||||
"ToParameter": "汇报数据文本"
|
||||
},
|
||||
{
|
||||
"$type": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit",
|
||||
"OutParamaterName": "聊天记录"
|
||||
},
|
||||
{
|
||||
"$type": "CollectionOperationKit.ServerSideObjectOp, CollectionOperationKit",
|
||||
"OperationParamaterPairs": [
|
||||
{
|
||||
"Name": "role",
|
||||
"Value": "user"
|
||||
},
|
||||
{
|
||||
"Name": "content",
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=汇报数据文本"
|
||||
}
|
||||
}
|
||||
],
|
||||
"OutParamaterName": "我的消息"
|
||||
},
|
||||
{
|
||||
"$type": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit",
|
||||
"InParamater": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=聊天记录"
|
||||
},
|
||||
"Operation": 4,
|
||||
"OperationParamaterAName": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=我的消息"
|
||||
},
|
||||
"OutParamaterName": "聊天记录"
|
||||
},
|
||||
{
|
||||
"$type": "OPENAIFORGUNCY.Completions, OPENAIFORGUNCY",
|
||||
"URL": "https://openai.api2d.net",
|
||||
"APIKEY": "fk211858-C6yKrsealBkvHao04yT9Ypg6GR0NVPyh",
|
||||
"IsDataSource": "json",
|
||||
"MessageJSON": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=聊天记录"
|
||||
},
|
||||
"Parameter": {
|
||||
"Model": 43,
|
||||
"Temperature": 1.0,
|
||||
"TopP": 1.0,
|
||||
"MaxTokens": 3000,
|
||||
"SystemContent": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=全局配置JSON.AI提示词1"
|
||||
},
|
||||
"Response_format": "text"
|
||||
},
|
||||
"Tools": [],
|
||||
"ResultTo": "result",
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
||||
"ErrorCode": "0",
|
||||
"Message": "生成完成",
|
||||
"CustomReturns": [
|
||||
{
|
||||
"ReturnPropertyName": "生成文本",
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=result.content"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"CatchCommandPart": {
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
||||
"ErrorCode": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=ExceptionCode"
|
||||
},
|
||||
"Message": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=ExceptionMessage"
|
||||
},
|
||||
"CustomReturns": [
|
||||
{
|
||||
"ReturnPropertyName": "生成文本"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
],
|
||||
"ID": "722f555e-4094-4a1d-8191-881a5861f680"
|
||||
},
|
||||
{
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
||||
"ErrorCode": "400",
|
||||
"Message": "请提供工作内容后再试",
|
||||
"CustomReturns": [
|
||||
{
|
||||
"ReturnPropertyName": "生成文本"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"ID": "761504f4-8247-41b7-b6bd-34a3f281a571"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user