Overview
This plug-in provides Appian developers with direct access to Azure OpenAI’s services, including Chat Completions (ChatGPT), Completions, and Embeddings. Through this connected system, developers can enjoy all the features of Azure’s OpenAI services while also benefiting from the simplicity and ease of use that comes with Appian’s low-code platform.
Integrating these services into your Appian application enables a wide range of use cases.
Helpful resources:
Key Features & Functionality
Plugins listed on the AppMarket undergo periodic review. Upon completion of a recent review, this listing has been archived. If you have any questions, please contact us via appmarket@appian.com.
Hi Appian Team,
I'm testing this plugin to integrate AI capabilities into our solutions.I'm trying to achieve the multi-message capability, but it's mentioned in the sample "This sample interface currently only supports single instance messaging. Refer to the Appian's Chat Completion integration for multi-message capabilities", but I cannot find where to refer to implement the multi-message functionality. Could you please point me where can I find this information?
Thakns in Advance,
Hi ,
I need to kdo demo on Generative AI on Appian how can i add Azure Open AI for creating interface in Appian
i need key and URL
I believe this error exception is being thrown when the following error response is returned by the API. I used the same URL endpoint. After I corrected by deployment model and API version I stopped getting this error message and in the Connected System integration it also started to work for Chat Completion Operation.
{ "error": { "code": "OperationNotSupported", "message": "The completion operation does not work with the specified model, gpt-35-turbo. Please choose different model and try again. You can learn more about which models can be used with each operation here: https://go.microsoft.com/fwlink/?linkid=2197993." } }
I am getting the following exception when testing the "Azure OpenAI Completion Integration" operation. Similar error message happens for "Azure OpenAI Chat Completion Integration". I was using similar prompt the screenshots were showing. Operation "Azure OpenAI Embedding Integration" gave a response that wasn't an exception which I've added below. Need advice on how to resolve the exception.
{ "Appian is a company that", "The Appian platform helps me"}
2023-09-15 15:42:54,989 [Appian Work Item - 463252 - WorkID 344 - execution02 - process 537547255 - model 37288 : UnattendedJavaActivityRequest] ERROR com.appiancorp.process.engine.UnattendedJavaActivityRequest - An error occurred while executing activity: id=536886199, classname=com.appiancorp.process.runtime.activities.CallIntegrationActivity com.appiancorp.suiteapi.process.framework.ActivityExecutionException: Expression evaluation error in rule 'ao_chatcompletion': com.appiancorp.connectedsystems.templateframework.functions.pipeline.proxyDecoratorPipeline.TemplateInvocationException: Contact the developer of this template to resolve the following issue. java.lang.NullPointerException: null at com.appiancorp.process.runtime.activities.CallIntegrationActivity.executeInternal(CallIntegrationActivity.java:96) at com.appiancorp.process.runtime.activities.CallIntegrationActivity.execute(CallIntegrationActivity.java:56) at com.appiancorp.suiteapi.process.framework.AbstractActivity.perform(AbstractActivity.java:104) at com.appiancorp.process.runtime.framework.LegacyActivityExecutor$2.call(LegacyActivityExecutor.java:90) at com.appiancorp.process.runtime.framework.LegacyActivityExecutor$2.call(LegacyActivityExecutor.java:87) at com.appiancorp.common.ContextClassLoaderSwitcher.runInContext(ContextClassLoaderSwitcher.java:23) at com.appiancorp.process.runtime.framework.LegacyActivityExecutor.execute(LegacyActivityExecutor.java:87) at com.appiancorp.process.engine.UnattendedJavaActivityRequest.execute(UnattendedJavaActivityRequest.java:88) at com.appiancorp.process.engine.UnattendedJavaActivityRequestResponseCreator.getJavaActivityResultResponse(UnattendedJavaActivityRequestResponseCreator.java:22) at com.appiancorp.process.engine.UnattendedJavaActivityRequest.getJavaActivityResultResponse(UnattendedJavaActivityRequest.java:67) at com.appiancorp.process.engine.UnattendedJavaActivityRequest.execute0(UnattendedJavaActivityRequest.java:55) at com.appiancorp.common.persistence.data.AppianDataUserContextProvider.executeWithConsistentDataReads(AppianDataUserContextProvider.java:143) at com.appiancorp.process.engine.ProcessContinuationRequest.executeOuter(ProcessContinuationRequest.java:68) at com.appiancorp.process.engine.ContinuationRequest.execute(ContinuationRequest.java:129) at com.appiancorp.process.workpoller.UnattendedRequestHandlerBean.onMessage(UnattendedRequestHandlerBean.java:36) at com.appiancorp.process.workpoller.WorkItem.run(WorkItem.java:110) at org.springframework.jca.work.SimpleTaskWorkManager$DelegatingWorkAdapter.run(SimpleTaskWorkManager.java:241) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:750) Caused by: com.appiancorp.core.expr.exceptions.ExpressionRuntimeException: com.appiancorp.core.expr.exceptions.ExpressionRuntimeException$AppianExceptionProvider: Expression evaluation error in rule 'ao_chatcompletion': com.appiancorp.connectedsystems.templateframework.functions.pipeline.proxyDecoratorPipeline.TemplateInvocationException: Contact the developer of this template to resolve the following issue. java.lang.NullPointerException: null (APNX-1-4198-000) at com.appiancorp.core.expr.fn.OverrideExceptionFunction.eval0(OverrideExceptionFunction.java:163) at com.appiancorp.core.expr.tree.TreeEvaluable.evalWrapped(TreeEvaluable.java:106) at com.appiancorp.core.expr.Tree.eval(Tree.java:441) at com.appiancorp.core.expr.tree.SpecialFunction.eval0(SpecialFunction.java:110) at com.appiancorp.core.expr.Tree.eval(Tree.java:334) at com.appiancorp.core.expr.rule.Rule.evalBody(Rule.java:1506) at com.appiancorp.core.expr.rule.Rule.doEval(Rule.java:899) at com.appiancorp.core.expr.rule.Rule.eval(Rule.java:786) at com.appiancorp.core.expr.rule.Rule.evalAndCache(Rule.java:680) at com.appiancorp.core.expr.rule.Rule.eval(Rule.java:672) at com.appiancorp.core.expr.rule.Rule.evalWithMetrics(Rule.java:653) at com.appiancorp.core.expr.rule.Rule.eval(Rule.java:639) at com.appiancorp.core.expr.tree.FreeformRule.evalWrapped(FreeformRule.java:162) at com.appiancorp.core.expr.Tree.eval(Tree.java:441) at com.appiancorp.core.expr.tree.FreeformRule.eval0(FreeformRule.java:133) at com.appiancorp.core.expr.Tree.eval(Tree.java:334) at com.appiancorp.core.expr.Parse.evalInner(Parse.java:433) at com.appiancorp.core.expr.Parse.eval(Parse.java:383) at com.appiancorp.core.expr.Parse.eval(Parse.java:357) at com.appiancorp.integration.evaluate.IntegrationExpressionEvaluator.evaluate(IntegrationExpressionEvaluator.java:63) at com.appiancorp.integration.evaluate.IntegrationExpressionEvaluator.evaluate(IntegrationExpressionEvaluator.java:49) at com.appiancorp.process.runtime.activities.CallIntegrationActivity.executeInternal(CallIntegrationActivity.java:81) ... 19 moreWhen I use "Azure OpenAI Embedding Integration" I get the following response.
Can you please provide the sample application for 23.2 atleast?
sample application seems to be exported from 23.4 version where as current appian cloud version is 23.2 and for this reason, sample application is not useful. Hopefully the sample application can be provided with lower versions.