144 lines
6.4 KiB
JSON
144 lines
6.4 KiB
JSON
{
|
||
"$type": "Forguncy.SaveLoad.ServerCommandSaveData, ServerDesignerCommon",
|
||
"Name": "测试GPT",
|
||
"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"
|
||
]
|
||
}
|
||
}
|
||
]
|
||
}
|
||
}
|
||
},
|
||
"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": "message",
|
||
"TableValue": {
|
||
"$type": "Forguncy.Model.Commands.ParameterTableValue, ServerDesignerCommon",
|
||
"TableName": "message_test",
|
||
"BindingInfos": {
|
||
"$type": "System.Collections.Generic.List`1[[Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon]], System.Private.CoreLib",
|
||
"$values": [
|
||
{
|
||
"$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon",
|
||
"GUID": "2009d595-d0fc-4bb8-ba4a-f2c22df387b0",
|
||
"BindingInfo": {
|
||
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
|
||
"TableName": "message_test",
|
||
"ColumnName": "role",
|
||
"GUID": "505116a7-fdae-4ca2-94b1-a29180637f99"
|
||
},
|
||
"ColumnName": "role"
|
||
},
|
||
{
|
||
"$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon",
|
||
"GUID": "cc081fea-7c8d-4c12-8f97-23840696912c",
|
||
"BindingInfo": {
|
||
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
|
||
"TableName": "message_test",
|
||
"ColumnName": "content",
|
||
"GUID": "77897b37-cd72-4378-ab4b-cb7ce9427308"
|
||
},
|
||
"ColumnName": "content"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"ID": "41ece15fbbed44c8985d08e04b04ccd1",
|
||
"BreakpointIdentity": "d619beab-67bc-43cf-9840-94666dde9100"
|
||
},
|
||
{
|
||
"$type": "OPENAIFORGUNCY.Completions, OPENAIFORGUNCY",
|
||
"URL": "https://oa.api2d.net",
|
||
"APIKEY": "fk211858-C6yKrsealBkvHao04yT9Ypg6GR0NVPyh",
|
||
"ORGANIZATION": "",
|
||
"IsDataSource": "json",
|
||
"MessageJSON": {
|
||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||
"SerializeProperty": "=message"
|
||
},
|
||
"Parameter": {
|
||
"$type": "OPENAIFORGUNCY.ParameterObject, OPENAIFORGUNCY",
|
||
"Model": 43,
|
||
"Temperature": 1.0,
|
||
"TopP": 1.0,
|
||
"MaxTokens": 1000,
|
||
"SystemContent": {
|
||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||
"SerializeProperty": "=\"我将发给你一个JSON字符串,它是某个人在某天的工作内容清单,内容中的[汇报类型]分为`日报`和`计划`,日报指的是昨日工作内容的总结,计划指的是今日计划工作安排。请你使用纯文本为我编写一篇简要的工作日报\""
|
||
},
|
||
"Response_format": "text"
|
||
},
|
||
"Tools": {
|
||
"$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Plugin.INamedObject, GrapeCity.Forguncy.Plugin]], System.Private.CoreLib",
|
||
"$values": [
|
||
{
|
||
"$type": "OPENAIFORGUNCY.FunctionCallObj, OPENAIFORGUNCY",
|
||
"Name": "GetWorkTimeData",
|
||
"Description": "如果用户要求获取某人的工时(工作时长)数据请调用此命令",
|
||
"Properties": {
|
||
"$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Plugin.INamedObject, GrapeCity.Forguncy.Plugin]], System.Private.CoreLib",
|
||
"$values": [
|
||
{
|
||
"$type": "OPENAIFORGUNCY.PropertiesObj, OPENAIFORGUNCY",
|
||
"Name": "项目",
|
||
"Description": "要查询的目标人姓名",
|
||
"Properties": {
|
||
"$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": []
|
||
},
|
||
"BreakpointIdentity": "25500e42-8b4b-4de8-adac-8f9abd5b1f40"
|
||
}
|
||
]
|
||
},
|
||
"ReturnProperties": {
|
||
"$type": "System.Collections.Generic.List`1[[Forguncy.SaveLoad.ReturnPropertySaveData, ServerDesignerCommon]], System.Private.CoreLib",
|
||
"$values": [
|
||
{
|
||
"$type": "Forguncy.SaveLoad.ReturnPropertySaveData, ServerDesignerCommon",
|
||
"Name": "生成文本"
|
||
}
|
||
]
|
||
}
|
||
} |