diff --git a/fluentui-ard/Connections/Connections.json b/fluentui-ard/Connections/Connections.json index 2ce78d8357ea695d382a3bea13c76b4da273e962..5cf726f2b0b0f8164d6be85747af8c43202ab6c4 100644 --- a/fluentui-ard/Connections/Connections.json +++ b/fluentui-ard/Connections/Connections.json @@ -1,11 +1,11 @@ { - "402ca609-ff1d-4189-bee6-bf17d393613c": { + "14dd137e-3796-47e0-b40f-9268bee25980": { "connectionRef": { "displayName": "Logic flows", "iconUri": "https://connectoricons-prod.azureedge.net/releases/v1.0.1664/1.0.1664.3477/logicflows/icon.png", "id": "/providers/microsoft.powerapps/apis/shared_logicflows", "parameterHints": { - "792f515e-a114-4545-812d-811320e937ae": { + "fe488653-7c77-44f0-acbd-be1c30abfe0a": { "value": "shared_azure-2dopenai-2dconnector-5f1d98e22a441b0e2d-5f3739fab3a930da50" }, "workflowEntityId": { @@ -17,7 +17,7 @@ }, "parameterHintsV2": { "shared_azure-2dopenai-2dconnector-5f1d98e22a441b0e2d-5f3739fab3a930da50": { - "value": "792f515e-a114-4545-812d-811320e937ae" + "value": "fe488653-7c77-44f0-acbd-be1c30abfe0a" }, "workflowEntityId": { "value": "921001dc-f7aa-ee11-be37-0022488291be" @@ -32,10 +32,10 @@ "ConnectAzureOpenai" ], "dependencies": { - "shared_azure-2dopenai-2dconnector-5f1d98e22a441b0e2d-5f3739fab3a930da50": "792f515e-a114-4545-812d-811320e937ae" + "shared_azure-2dopenai-2dconnector-5f1d98e22a441b0e2d-5f3739fab3a930da50": "fe488653-7c77-44f0-acbd-be1c30abfe0a" }, "dependents": [], - "id": "402ca609-ff1d-4189-bee6-bf17d393613c" + "id": "14dd137e-3796-47e0-b40f-9268bee25980" }, "4f97c1a9-66e5-4408-9cd9-6d91353932e7": { "connectionRef": { @@ -51,20 +51,6 @@ ], "id": "4f97c1a9-66e5-4408-9cd9-6d91353932e7" }, - "792f515e-a114-4545-812d-811320e937ae": { - "connectionRef": { - "displayName": "Azure-openai-connector", - "iconUri": "https://prodapiicons.cdn.powerappscdn.net/20231208t000000z6ddcf09938484bbb86659a4f81d8d185/customconnectoricon.png", - "id": "/providers/microsoft.powerapps/apis/shared_azure-2dopenai-2dconnector-5f1d98e22a441b0e2d-5f3739fab3a930da50" - }, - "datasets": {}, - "dataSources": [], - "dependencies": {}, - "dependents": [ - "402ca609-ff1d-4189-bee6-bf17d393613c" - ], - "id": "792f515e-a114-4545-812d-811320e937ae" - }, "9024110d-ec99-4692-a8c4-ae3df88fb2b0": { "connectionRef": { "displayName": "Logic flows", @@ -116,5 +102,19 @@ "dependencies": {}, "dependents": [], "id": "dd997e22-3bdb-48cb-af6f-587b3b988bb4" + }, + "fe488653-7c77-44f0-acbd-be1c30abfe0a": { + "connectionRef": { + "displayName": "Azure-openai-connector", + "iconUri": "https://prodapiicons.cdn.powerappscdn.net/20231208t000000z6ddcf09938484bbb86659a4f81d8d185/customconnectoricon.png", + "id": "/providers/microsoft.powerapps/apis/shared_azure-2dopenai-2dconnector-5f1d98e22a441b0e2d-5f3739fab3a930da50" + }, + "datasets": {}, + "dataSources": [], + "dependencies": {}, + "dependents": [ + "14dd137e-3796-47e0-b40f-9268bee25980" + ], + "id": "fe488653-7c77-44f0-acbd-be1c30abfe0a" } } \ No newline at end of file diff --git a/fluentui-ard/Entropy/Entropy.json b/fluentui-ard/Entropy/Entropy.json index 8d03366fae029007ef3c2e5c21811d52ff567eb9..baaf1dca4428d7f2ed674a0b8fa391591c78139e 100644 --- a/fluentui-ard/Entropy/Entropy.json +++ b/fluentui-ard/Entropy/Entropy.json @@ -21,14 +21,14 @@ }, "FunctionParamsInvariantScripts": {}, "FunctionParamsInvariantScriptsOnInstances": {}, - "HeaderLastSavedDateTimeUTC": "01/15/2024 08:07:43", + "HeaderLastSavedDateTimeUTC": "01/15/2024 08:31:25", "IsLegacyComponentAllowGlobalScopeCase": false, "LocalConnectionIDReferences": { - "402ca609-ff1d-4189-bee6-bf17d393613c": "\"/providers/Microsoft.PowerApps/apis/shared_logicflows/connections/EC84356E395FAA1B0FDF1C7E126B562E-C1654A69E558FC9F\"", + "14dd137e-3796-47e0-b40f-9268bee25980": "\"/providers/microsoft.powerapps/apis/shared_logicflows/connections/ec84356e395faa1b0fdf1c7e126b562e-c1654a69e558fc9f\"", "4f97c1a9-66e5-4408-9cd9-6d91353932e7": "\"/providers/microsoft.powerapps/apis/shared_office365/connections/shared-office365-691d88fb-dc12-4d7f-afc5-caaebbf651d6\"", - "792f515e-a114-4545-812d-811320e937ae": "\"/providers/microsoft.powerapps/apis/shared_azure-2dopenai-2dconnector-5f1d98e22a441b0e2d-5f3739fab3a930da50/connections/shared-azure-2dopena-3f4cdc89-63b5-4018-882d-1f1c97eb18e0\"", "9024110d-ec99-4692-a8c4-ae3df88fb2b0": "\"/providers/microsoft.powerapps/apis/shared_logicflows/connections/38d6e5b5b5fa999a16ebdf0aa169572f-c1654a69e558fc9f\"", - "dd997e22-3bdb-48cb-af6f-587b3b988bb4": "\"/providers/microsoft.powerapps/apis/shared_office365/connections/shared-office365-4f712e21-7360-4723-a8e1-b17877eae069\"" + "dd997e22-3bdb-48cb-af6f-587b3b988bb4": "\"/providers/microsoft.powerapps/apis/shared_office365/connections/shared-office365-4f712e21-7360-4723-a8e1-b17877eae069\"", + "fe488653-7c77-44f0-acbd-be1c30abfe0a": "\"/providers/microsoft.powerapps/apis/shared_azure-2dopenai-2dconnector-5f1d98e22a441b0e2d-5f3739fab3a930da50/connections/shared-azure-2dopena-3f4cdc89-63b5-4018-882d-1f1c97eb18e0\"" }, "LocalDatabaseReferencesAsEmpty": false, "LocalResourceFileNames": { diff --git a/fluentui-ard/Entropy/checksum.json b/fluentui-ard/Entropy/checksum.json index fff4813132dc5864894bc1d98cfc9dd50a664307..ad6954da0d6a7dabe7d9fef4314814397fcbbe94 100644 --- a/fluentui-ard/Entropy/checksum.json +++ b/fluentui-ard/Entropy/checksum.json @@ -8,9 +8,9 @@ "Assets\\Images\\0001.png": "C8_D0WGiAaxVuIcUWpkdQuVcyQy/gSJZuMRDwL63zxJhAk=", "Assets\\Images\\0002.jpg": "C8_Tc/HGdQ62xbtBm/41G1l7DIpMm/RT0cgmhtJyanyURs=", "Controls\\1.json": "C8_/PwNEU6dV00x9Xr4Yt93zX1EmsxAh36PVgOdFy9WD8g=", - "Controls\\4.json": "C8_04mW9wglKoHUnsNQihgSc7hkULtIZmghTybyJBjMH0Y=", - "Header.json": "C8_xDbETFh9GxkzhCNssIYbVspeaCNQp/Tc0pna08XTyAY=", - "Properties.json": "C8_+Gvh+QJVah1s+U1H2vFjt5Rj1OKc2qWmdPDnKuJXNRw=", + "Controls\\4.json": "C8_V5DFTP464VILFhmKeZBTn4ugKi2zBsmtoBaoAX6qtPc=", + "Header.json": "C8_jChkj33NuktbKfMR8TpiNjEnZxdBDZsb072MSKhNEag=", + "Properties.json": "C8_h6DSGX2t7DCVqr0W9zVgKgZm6HMHtrtLOK7dWwj62Sw=", "References\\DataSources.json": "C8_j1tKKAOYDTkGHfiN7TTDXqWDGAT05nDhkMTD/v32als=", "References\\ModernThemes.json": "C8_KDQJ/3t27vgKx25iCQB/PGqxkWE34ZB7Eyb+RxNxY0k=", "References\\Resources.json": "C8_UMTMqs1BZIxG/WCVvgkZm/xMB/Clxy5pUBUMWVF0nQY=", @@ -18,15 +18,15 @@ "References\\Themes.json": "C8_zuMgLpz3IJQlVgGqo3GtyhriL3PR35GxXf+rtPR4Gfc=", "Resources\\PublishInfo.json": "C8_L9UhOWDoS/LUj0KodcbQiXLqewg00O5iSZA4+bCdTGs=" }, - "ClientStampedChecksum": "C8_aag11XCDX7Jse1veVyqSLpSuKMoSr6nzQd/9t5It5xY=", + "ClientStampedChecksum": "C8_IOIqbKsKIgXoPSYjzE4N4sXWfThBG6DVrk/4967WMfY=", "ServerPerFileChecksums": { "AppCheckerResult.sarif": "C8_B7QS9IAuh4ZQDqU9CuerBDTo+JJ6k5lRsJWHDfDdz/U=", "Assets\\Images\\0001.png": "C8_D0WGiAaxVuIcUWpkdQuVcyQy/gSJZuMRDwL63zxJhAk=", "Assets\\Images\\0002.jpg": "C8_Tc/HGdQ62xbtBm/41G1l7DIpMm/RT0cgmhtJyanyURs=", "Controls\\1.json": "C8_/PwNEU6dV00x9Xr4Yt93zX1EmsxAh36PVgOdFy9WD8g=", - "Controls\\4.json": "C8_04mW9wglKoHUnsNQihgSc7hkULtIZmghTybyJBjMH0Y=", - "Header.json": "C8_xDbETFh9GxkzhCNssIYbVspeaCNQp/Tc0pna08XTyAY=", - "Properties.json": "C8_+Gvh+QJVah1s+U1H2vFjt5Rj1OKc2qWmdPDnKuJXNRw=", + "Controls\\4.json": "C8_V5DFTP464VILFhmKeZBTn4ugKi2zBsmtoBaoAX6qtPc=", + "Header.json": "C8_jChkj33NuktbKfMR8TpiNjEnZxdBDZsb072MSKhNEag=", + "Properties.json": "C8_h6DSGX2t7DCVqr0W9zVgKgZm6HMHtrtLOK7dWwj62Sw=", "References\\DataSources.json": "C8_j1tKKAOYDTkGHfiN7TTDXqWDGAT05nDhkMTD/v32als=", "References\\ModernThemes.json": "C8_KDQJ/3t27vgKx25iCQB/PGqxkWE34ZB7Eyb+RxNxY0k=", "References\\Resources.json": "C8_UMTMqs1BZIxG/WCVvgkZm/xMB/Clxy5pUBUMWVF0nQY=", @@ -34,5 +34,5 @@ "References\\Themes.json": "C8_zuMgLpz3IJQlVgGqo3GtyhriL3PR35GxXf+rtPR4Gfc=", "Resources\\PublishInfo.json": "C8_L9UhOWDoS/LUj0KodcbQiXLqewg00O5iSZA4+bCdTGs=" }, - "ServerStampedChecksum": "C8_aag11XCDX7Jse1veVyqSLpSuKMoSr6nzQd/9t5It5xY=" + "ServerStampedChecksum": "C8_IOIqbKsKIgXoPSYjzE4N4sXWfThBG6DVrk/4967WMfY=" } \ No newline at end of file diff --git a/fluentui-ard/Src/Screen1.fx.yaml b/fluentui-ard/Src/Screen1.fx.yaml index 23d55b1345a0733e5e243e554c6cd6f6ee486e31..ec6773432369bec45ad939b94fc4318a5def32bd 100644 --- a/fluentui-ard/Src/Screen1.fx.yaml +++ b/fluentui-ard/Src/Screen1.fx.yaml @@ -53,14 +53,14 @@ Screen1 As screen: DisabledBorderColor: =RGBA(0, 52, 128, 1) FalseFill: =RGBA(255, 255, 255, 1) FalseHoverFill: =RGBA(251, 188, 159, 1) - FalseText: ="Creativity" & Char(10) & "mode off" + FalseText: ="false" FocusedBorderThickness: =4 Font: =Font.'Segoe UI' HandleFill: =RGBA(128, 128, 128, 1) Height: =ConFkt1.Height/2 HoverBorderColor: =RGBA(0, 52, 128, 1) LabelPaddingLeft: =7 - OnChange: = + OnChange: =0.9 OnCheck: =false PressedBorderColor: =RGBA(0, 52, 128, 1) ShowLabel: =false @@ -68,7 +68,7 @@ Screen1 As screen: TabIndex: =1 TrueFill: =RGBA(251, 188, 159, 1) TrueHoverFill: =RGBA(251, 188, 159, 1) - TrueText: ="Creativity" & Char(10) & "mode on" + TrueText: ="true" Width: |- =If(ConFkt1.Height<=ConFkt1.Width/6, ConFkt1.Height, ConFkt1.Height > ConFkt1.Width/6, ConFkt1.Width/6) @@ -247,7 +247,9 @@ Screen1 As screen: HoverFill: =RGBA(0, 0, 0, 0) Icon: =Icon.Send OnSelect: |- - =If(!IsBlank(textinput1.Text), Set(varResp, varResp & Char(10) & textinput1.Text & Char(10) & Char(10) & "GPT: " & ConnectAzureOpenai.Run(textinput1.Text, Creativity1.Value).assi & Char(10))); + =If(Creativity1.Value=false, Set(Creativity,0.3), Set(Creativity,0.9)); + + If(!IsBlank(textinput1.Text), Set(varResp, varResp & Char(10) & textinput1.Text & Char(10) & Char(10) & "GPT: " & ConnectAzureOpenai.Run(textinput1.Text, Creativity).assi & Char(10))); //If(!IsBlank(textinput1.Text), Set(varRespMail, varRespMail & "<br>" & textinput1.Text & "<br>" & "<br>" & "GPT: " & ConnectAzureOpenai.Run(textinput1.Text, Creativity1.Value).assi & "<br>")); Reset(textinput1); Notify("ChatGPT asked", NotificationType.Success, 1000);