Hi Guys,
We've just installed AI Machine Learning Plugin in our instance. Is there a documentation on how to use this Plugin?
Also if there's a quick recipe or tutorial on how to use it is much appreciated.
Thanks in advance!
Discussion posts and replies are publicly visible
0. Download and install the AI plug-in.
1. Then, the first thing you need to set up is an account with AWS Machine Learning, following the tutorial there and knowing how to create the machine learning model.
2. Next, you will need to go to the AWS IAM (Identity and Access Management) console and create Users with permissions to access S3 and MachineLearning. When you do create them, the user name, access key id, and secret key will be provided. These will need to be stored later in the Appian Third Party Credentials section.
3. Go back to Appian -> Appian Administration Console -> Third Party Credentials -> Create
4. Add 4 fields = "username", "password", "accesskey", "secretkey" and enter their corresponding values that IAM provided.
5. In the "Plug Ins List" section, find and add "Appian AI".
6. In my case, the key created was "aws.machine.learning".
7. The AI plug-in gives you:
Functions: AwsGetAvailableS3Buckets, AwsGetBatchPredictionMetadata, AwsGetMlModelMetadata, AwsGetMlRealtimePrediction, AwsGetTrainingDataSchema, GetAwsHeaders
Function Categories: Artificial Intelligence
Smart Services: Create Batch Prediction, Create ML Realtime Endpoint, Delete ML Model, Get Batch Prediction Results, Upload CSV and Build ML Model
Data Types: AML Data Types
8. For the Smart Services and Functions, you will need to pass the scsExternalSystemKey (text) as a parameter - this is the "aws.machine.learning" key from above. Another thing you will need to pass is usePerUserCredentials (boolean) which I set to False. Doing this, I'm able to get a successful response, no error messages. When I set it to True is doesn't work for some reason.
Hello there!