{ "Id": "ConnectToDatabaseToSearch", "LineOfBusinessProcessData": [ { "Key": "object", "Type": "Xenhey.BPM.Core.Net8.Processes.ProcessData" } ], "Type": "", "DataFlowProcess": [ { "Key": "GetAIInputData", "Type": "Xenhey.BPM.Core.Net8.Processes.TransformationProcess", "Async": "false", "IsEnable": "true", "DataFlowProcessParameters": [ { "Key": "TransformJSONPayload", "Value": "yes" }, { "Key": "RemoteTemplateName", "Value": "yes" }, { "Key": "remoteURL", "Value": "https://www.xenhey.com/api/store/3BB38CA497764F3A9D890492AEA2E7C6" } ] }, { "Key": "MakeAPICall", "Type": "Xenhey.BPM.Core.Net8.Processes.RemoteApiProcess", "Async": "false", "IsEnable": "true", "DataFlowProcessParameters": [ { "Key": "MakeSimpleApiCall", "Value": "Yes" }, { "Key": "PassThroughHeaders", "Value": "[{\"Key\": \"Authorization\",\"Value\": \"Authorization\"}]" }, { "Key": "MessageType", "Value": "application/json" }, { "Key": "uri", "Value": "https://api.openai.com/v1/chat/completions" }, { "Key": "MethodType", "Value": "POST" } ] }, { "Key": "ExtractDataPropertFromPayLoad", "Type": "Xenhey.BPM.Core.Net8.Processes.MessageBuilderProcess", "Async": "false", "IsEnable": "true", "DataFlowProcessParameters": [ { "Key": "BuildArrayFromComplexObject", "Value": "yes" }, { "Key": "TableName", "Value": "content" } ] }, { "Key": "BuildSQLStatement", "Type": "Xenhey.BPM.Core.Net8.Processes.TransformationProcess", "Async": "false", "IsEnable": "true", "DataFlowProcessParameters": [ { "Key": "TransformJSONPayload", "Value": "yes" }, { "Key": "RemoteTemplateName", "Value": "yes" }, { "Key": "remoteURL", "Value": "https://www.xenhey.com/api/store/A9B8650FFDA24295A55823AB279915EC" } ] }, { "Key": "SearchDatabaseForResults", "Type": "Xenhey.BPM.Core.Net8.Processes.ConnectToDBProcess", "Async": "false", "IsEnable": "true", "DataFlowProcessParameters": [ { "Key": "ConnectToDatabaseWithStatement", "Value": "Yes" }, { "Key": "connectionstring", "Value": "DatabaseConnection" }, { "Key": "messageformat", "Value": "application/json" } ] } ] }