Skip to content
Snippets Groups Projects
Commit c4acb202 authored by Manuel Geyer's avatar Manuel Geyer
Browse files

Commit

parent 4104e0b2
No related branches found
No related tags found
No related merge requests found
...@@ -51,6 +51,36 @@ ...@@ -51,6 +51,36 @@
], ],
"id": "76079069-80c3-4221-84a0-4688a3d9cff1" "id": "76079069-80c3-4221-84a0-4688a3d9cff1"
}, },
"d71e590f-aded-48fa-981e-c338666cb9a8": {
"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": {
"workflowEntityId": {
"value": "f9b1673a-b2be-ee11-9079-0022488291be"
},
"workflowName": {
"value": "6488d363-76ae-b972-fcad-4dff67e60417"
}
},
"parameterHintsV2": {
"workflowEntityId": {
"value": "f9b1673a-b2be-ee11-9079-0022488291be"
},
"workflowName": {
"value": "6488d363-76ae-b972-fcad-4dff67e60417"
}
}
},
"datasets": {},
"dataSources": [
"ConnectAzureOpenaiT"
],
"dependencies": {},
"dependents": [],
"id": "d71e590f-aded-48fa-981e-c338666cb9a8"
},
"dd997e22-3bdb-48cb-af6f-587b3b988bb4": { "dd997e22-3bdb-48cb-af6f-587b3b988bb4": {
"connectionRef": { "connectionRef": {
"displayName": "Office 365 Outlook", "displayName": "Office 365 Outlook",
......
[
{
"ApiId": "/providers/microsoft.powerapps/apis/shared_logicflows",
"FlowNameId": "caf4d636-9c58-423a-ae27-48942b657596",
"Name": "ConnectAzureOpenaiT",
"ServiceKind": "ConnectedWadl",
"Type": "ServiceInfo",
"WorkflowEntityId": "f9b1673a-b2be-ee11-9079-0022488291be"
}
]
\ No newline at end of file
...@@ -27,11 +27,12 @@ ...@@ -27,11 +27,12 @@
"DoesTestStepsMetadataExist": true, "DoesTestStepsMetadataExist": true,
"FunctionParamsInvariantScripts": {}, "FunctionParamsInvariantScripts": {},
"FunctionParamsInvariantScriptsOnInstances": {}, "FunctionParamsInvariantScriptsOnInstances": {},
"HeaderLastSavedDateTimeUTC": "01/30/2024 13:23:57", "HeaderLastSavedDateTimeUTC": "01/30/2024 13:25:06",
"IsLegacyComponentAllowGlobalScopeCase": false, "IsLegacyComponentAllowGlobalScopeCase": false,
"LocalConnectionIDReferences": { "LocalConnectionIDReferences": {
"028e7b29-d321-4e48-a760-c92538b0678a": "\"/providers/microsoft.powerapps/apis/shared_logicflows/connections/ec84356e395faa1b0fdf1c7e126b562e-c1654a69e558fc9f\"", "028e7b29-d321-4e48-a760-c92538b0678a": "\"/providers/microsoft.powerapps/apis/shared_logicflows/connections/ec84356e395faa1b0fdf1c7e126b562e-c1654a69e558fc9f\"",
"76079069-80c3-4221-84a0-4688a3d9cff1": "\"/providers/microsoft.powerapps/apis/shared_azure-2dopenai-2dconnector-5f1d98e22a441b0e2d-5f3739fab3a930da50/connections/shared-azure-2dopena-3f4cdc89-63b5-4018-882d-1f1c97eb18e0\"", "76079069-80c3-4221-84a0-4688a3d9cff1": "\"/providers/microsoft.powerapps/apis/shared_azure-2dopenai-2dconnector-5f1d98e22a441b0e2d-5f3739fab3a930da50/connections/shared-azure-2dopena-3f4cdc89-63b5-4018-882d-1f1c97eb18e0\"",
"d71e590f-aded-48fa-981e-c338666cb9a8": "\"/providers/Microsoft.PowerApps/apis/shared_logicflows/connections/6488D36376AEB972FCAD4DFF67E60417-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\""
}, },
"LocalDatabaseReferencesAsEmpty": false, "LocalDatabaseReferencesAsEmpty": false,
...@@ -47,8 +48,9 @@ ...@@ -47,8 +48,9 @@
"OrderComponentTemplate": {}, "OrderComponentTemplate": {},
"OrderDataSource": { "OrderDataSource": {
"ConnectAzureOpenai": 0, "ConnectAzureOpenai": 0,
"DropDownSample": 2, "ConnectAzureOpenaiT": 2,
"gptconv": 3, "DropDownSample": 3,
"gptconv": 4,
"Office365Outlook": 1 "Office365Outlook": 1
}, },
"OrderGroupControls": {}, "OrderGroupControls": {},
......
...@@ -9,10 +9,10 @@ ...@@ -9,10 +9,10 @@
"Assets\\Images\\0001.png": "C8_D0WGiAaxVuIcUWpkdQuVcyQy/gSJZuMRDwL63zxJhAk=", "Assets\\Images\\0001.png": "C8_D0WGiAaxVuIcUWpkdQuVcyQy/gSJZuMRDwL63zxJhAk=",
"Assets\\Images\\0002.jpg": "C8_Tc/HGdQ62xbtBm/41G1l7DIpMm/RT0cgmhtJyanyURs=", "Assets\\Images\\0002.jpg": "C8_Tc/HGdQ62xbtBm/41G1l7DIpMm/RT0cgmhtJyanyURs=",
"Controls\\1.json": "C8_kmQ9ZBliKRUlK7WAiimFjKljGhL8xYPYPAr39QvEmuI=", "Controls\\1.json": "C8_kmQ9ZBliKRUlK7WAiimFjKljGhL8xYPYPAr39QvEmuI=",
"Controls\\4.json": "C8_qcOcebs92WQbjg6MxYtt/yCUAFX+LOBpD2CaR+MkYM8=", "Controls\\4.json": "C8_6QHQt1P2Bw8ppSvNNucAdIdRhJx+Z4qUrxsq6mPXKM4=",
"Header.json": "C8_OdXPXKWnbK2weH/o92OPx1Y0KPZny/NIVgeC0FJiOss=", "Header.json": "C8_fvz1oZlPwGppbpfem4o8fH20SW2NhDyuCSkGNqTqfes=",
"Properties.json": "C8_YK2CFIMB06GJ9T/H/Z428L3h8cprVOuwHCh4I+3wW8o=", "Properties.json": "C8_xXySfjwl8NcuWuGj86r++PW5vS66Vm4Egkop6++qIrk=",
"References\\DataSources.json": "C8_4wce0SLBcifQ3nFJIN2LgjLOxD+daAMfT39hi3zsH5U=", "References\\DataSources.json": "C8_ab+p2Tbea2X3Q7RgeXch8kAVtCNlYkgOkRBiBI70weU=",
"References\\ModernThemes.json": "C8_KDQJ/3t27vgKx25iCQB/PGqxkWE34ZB7Eyb+RxNxY0k=", "References\\ModernThemes.json": "C8_KDQJ/3t27vgKx25iCQB/PGqxkWE34ZB7Eyb+RxNxY0k=",
"References\\QualifiedValues.json": "C8_El4FiKqe0MNuyanHlgG0pvhEijIXFigAGYgvdl/aCtk=", "References\\QualifiedValues.json": "C8_El4FiKqe0MNuyanHlgG0pvhEijIXFigAGYgvdl/aCtk=",
"References\\Resources.json": "C8_UCSn5Xd5d97Qke4avkSXhFFz85md97y7YwuQJ+1IvLA=", "References\\Resources.json": "C8_UCSn5Xd5d97Qke4avkSXhFFz85md97y7YwuQJ+1IvLA=",
...@@ -20,17 +20,17 @@ ...@@ -20,17 +20,17 @@
"References\\Themes.json": "C8_zuMgLpz3IJQlVgGqo3GtyhriL3PR35GxXf+rtPR4Gfc=", "References\\Themes.json": "C8_zuMgLpz3IJQlVgGqo3GtyhriL3PR35GxXf+rtPR4Gfc=",
"Resources\\PublishInfo.json": "C8_L9UhOWDoS/LUj0KodcbQiXLqewg00O5iSZA4+bCdTGs=" "Resources\\PublishInfo.json": "C8_L9UhOWDoS/LUj0KodcbQiXLqewg00O5iSZA4+bCdTGs="
}, },
"ClientStampedChecksum": "C8_CepuqY9lBh5EjpzWIUEWt9aI7d8ZQvpaHANDvCUtPrE=", "ClientStampedChecksum": "C8_l5W8y1fwheciXp3yOnk15GBRD/43+FljhW6qupu+yCs=",
"ServerPerFileChecksums": { "ServerPerFileChecksums": {
"AppCheckerResult.sarif": "C8_3t2WeT90ZZnCsWrm/m30YSp2FW1pTDJyhqpSzUHhGR8=", "AppCheckerResult.sarif": "C8_3t2WeT90ZZnCsWrm/m30YSp2FW1pTDJyhqpSzUHhGR8=",
"AppTests\\2.json": "C8_e7iNKGdPmvGBQG8t0GHgxl3LWfan9OmlJR4cLuSEmT0=", "AppTests\\2.json": "C8_e7iNKGdPmvGBQG8t0GHgxl3LWfan9OmlJR4cLuSEmT0=",
"Assets\\Images\\0001.png": "C8_D0WGiAaxVuIcUWpkdQuVcyQy/gSJZuMRDwL63zxJhAk=", "Assets\\Images\\0001.png": "C8_D0WGiAaxVuIcUWpkdQuVcyQy/gSJZuMRDwL63zxJhAk=",
"Assets\\Images\\0002.jpg": "C8_Tc/HGdQ62xbtBm/41G1l7DIpMm/RT0cgmhtJyanyURs=", "Assets\\Images\\0002.jpg": "C8_Tc/HGdQ62xbtBm/41G1l7DIpMm/RT0cgmhtJyanyURs=",
"Controls\\1.json": "C8_kmQ9ZBliKRUlK7WAiimFjKljGhL8xYPYPAr39QvEmuI=", "Controls\\1.json": "C8_kmQ9ZBliKRUlK7WAiimFjKljGhL8xYPYPAr39QvEmuI=",
"Controls\\4.json": "C8_qcOcebs92WQbjg6MxYtt/yCUAFX+LOBpD2CaR+MkYM8=", "Controls\\4.json": "C8_6QHQt1P2Bw8ppSvNNucAdIdRhJx+Z4qUrxsq6mPXKM4=",
"Header.json": "C8_OdXPXKWnbK2weH/o92OPx1Y0KPZny/NIVgeC0FJiOss=", "Header.json": "C8_fvz1oZlPwGppbpfem4o8fH20SW2NhDyuCSkGNqTqfes=",
"Properties.json": "C8_YK2CFIMB06GJ9T/H/Z428L3h8cprVOuwHCh4I+3wW8o=", "Properties.json": "C8_xXySfjwl8NcuWuGj86r++PW5vS66Vm4Egkop6++qIrk=",
"References\\DataSources.json": "C8_4wce0SLBcifQ3nFJIN2LgjLOxD+daAMfT39hi3zsH5U=", "References\\DataSources.json": "C8_ab+p2Tbea2X3Q7RgeXch8kAVtCNlYkgOkRBiBI70weU=",
"References\\ModernThemes.json": "C8_KDQJ/3t27vgKx25iCQB/PGqxkWE34ZB7Eyb+RxNxY0k=", "References\\ModernThemes.json": "C8_KDQJ/3t27vgKx25iCQB/PGqxkWE34ZB7Eyb+RxNxY0k=",
"References\\QualifiedValues.json": "C8_El4FiKqe0MNuyanHlgG0pvhEijIXFigAGYgvdl/aCtk=", "References\\QualifiedValues.json": "C8_El4FiKqe0MNuyanHlgG0pvhEijIXFigAGYgvdl/aCtk=",
"References\\Resources.json": "C8_UCSn5Xd5d97Qke4avkSXhFFz85md97y7YwuQJ+1IvLA=", "References\\Resources.json": "C8_UCSn5Xd5d97Qke4avkSXhFFz85md97y7YwuQJ+1IvLA=",
...@@ -38,5 +38,5 @@ ...@@ -38,5 +38,5 @@
"References\\Themes.json": "C8_zuMgLpz3IJQlVgGqo3GtyhriL3PR35GxXf+rtPR4Gfc=", "References\\Themes.json": "C8_zuMgLpz3IJQlVgGqo3GtyhriL3PR35GxXf+rtPR4Gfc=",
"Resources\\PublishInfo.json": "C8_L9UhOWDoS/LUj0KodcbQiXLqewg00O5iSZA4+bCdTGs=" "Resources\\PublishInfo.json": "C8_L9UhOWDoS/LUj0KodcbQiXLqewg00O5iSZA4+bCdTGs="
}, },
"ServerStampedChecksum": "C8_CepuqY9lBh5EjpzWIUEWt9aI7d8ZQvpaHANDvCUtPrE=" "ServerStampedChecksum": "C8_l5W8y1fwheciXp3yOnk15GBRD/43+FljhW6qupu+yCs="
} }
\ No newline at end of file
...@@ -298,7 +298,7 @@ BaseScreen As screen: ...@@ -298,7 +298,7 @@ BaseScreen As screen:
textinput1.Text; // you textinput1.Text; // you
behave1.SelectedText.'data-ADB4D7A662F548B49FAC2B986E348A1BVal'; // sys behave1.SelectedText.'data-ADB4D7A662F548B49FAC2B986E348A1BVal'; // sys
// Send to Azure // Send to Azure
Set(assiresp, ConnectAzureOpenai.Run(textinput1.Text, Creativity, behave1.SelectedText.'data-ADB4D7A662F548B49FAC2B986E348A1BVal')); // Assi Set(assiresp, ConnectAzureOpenaiT.Run(textinput1.Text, Creativity, behave1.SelectedText.'data-ADB4D7A662F548B49FAC2B986E348A1BVal')); // Assi
// write into collection // write into collection
Set(msgcnt, msgcnt+1); Set(msgcnt, msgcnt+1);
......
<application xmlns:xml="http://www.w3.org/XML/1998/namespace" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:service="https://europe-002.azure-apim.net/apim/logicflows" xmlns:siena="http://schemas.microsoft.com/MicrosoftProjectSiena/WADL/2014/11" siena:serviceId="ConnectAzureOpenaiT" xmlns="http://wadl.dev.java.net/2009/02">
<doc title="ConnectAzureOpenaiT" />
<grammars>
<jsonTypes targetNamespace="https://europe-002.azure-apim.net/apim/logicflows" xmlns="http://schemas.microsoft.com/MicrosoftProjectSiena/WADL/2014/11">
<string name="ManualTriggerInput_text_def" />
<number name="ManualTriggerInput_number_def" />
<string name="ManualTriggerInput_text_1_def" />
<object name="ManualTriggerInput">
<property name="text" type="string" />
<property name="number" type="number" />
<property name="text_1" type="string" />
</object>
<string name="ResponseActionOutput_assi_def" />
<number name="ResponseActionOutput_ttokens_def" />
<object name="ResponseActionOutput">
<property name="assi" type="string" />
<property name="ttokens" type="number" />
</object>
<object name="Run_responses_default_def" />
</jsonTypes>
</grammars>
<resources siena:authenticationProviderHref="#PowerAppAuth" base="https://europe-002.azure-apim.net/apim/logicflows">
<resource path="/{connectionId}/triggers/manual/run">
<param style="template" name="connectionId" type="xs:string" required="true" />
<method siena:requiresAuthentication="true" name="POST" id="Run">
<doc title="Runs a logic flow trigger." />
<request>
<param style="query" name="api-version" type="xs:string" required="true" fixed="2015-02-01-preview">
<doc title="The api version" />
</param>
<representation mediaType="application/json">
<param style="plain" name="text" path="/text" type="xs:string" required="true">
<doc title="prompt1" />
</param>
<param style="plain" name="number" path="/number" type="xs:double" required="true">
<doc title="creativity1" />
</param>
<param style="plain" name="text_1" path="/text_1" type="xs:string" required="true">
<doc title="behave1" />
</param>
</representation>
</request>
<response>
<representation mediaType="application/json" element="service:ResponseActionOutput" />
</response>
</method>
</resource>
</resources>
<authenticationProviders xmlns="http://schemas.microsoft.com/MicrosoftProjectSiena/WADL/2014/11">
<connectionProvider id="PowerAppAuth" siena:connectionProviderId="logicflows" />
</authenticationProviders>
<template xmlns="http://schemas.microsoft.com/MicrosoftProjectSiena/WADL/2014/11">
<variable name="connectionId">
<modifyParams style="template" name="connectionId" attribute="fixed" />
</variable>
</template>
</application>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment