EnateAI - AI Analyst (Beta)
Last updated
Was this helpful?
Last updated
Was this helpful?
With the release of Enate AI's latest offering - AI Analyst - we're taking a significant step forward to let you seamlessly integrate AI-driven activities throughout your business process.
We're partnering with Microsoft on this to use the power of their very latest OpenAI technology right at the heart of things. So if you can ask OpenAI to perform a task, with EnateAI Analyst you can embed that to run automatically as part of your business process flow.
You can add AI Analyst Actions throughout your cases and ask it to analyse documents which you supply it. You can massively reduce the time spent having to wade through huge data files performing intricate analysis, freeing up time for more valuable work.
The possibilities here are almost endless, and the power you've got at your fingertips is matched only by how simple it is to set up. There's no coding and you don't have to change a thing - just tell the system what the business rules are to run an analysis task and it will get on with it.
An important thing to note here: For the moment, this feature is being released in BETA only. As such, it should not be used yet for full production purposes just yet. You can however, start to test it out with real scenarios.
Here's how you can get started setting up AI Analyst
Adding AI Analyst into your business processes is very simple to set up. Once you've switched on the 'AI Analyst' integration in Builder's Marketplace section, any time you want to create a new AI Analyst action to perform a specialist analysis activity, the steps are as follows:
Create a new AI Policy in the AI Analyst Configuration section of System Settings in Builder
Test this policy with sample data until you're happy with the output, then Set Live.
Add 'AI Analyst' actions into your case process, linking this to your new AI Policy. (Note: You will need to add a manual action directly after the AI Analyst action)
Creating a new AI Policy is simple - no code is required, you can simply write out the business rules / logic / policy for the activity in normal business language and the AI will understand it. You can easily get started by simply porting across the details of your business policy direct into an Enate AI Policy.
Take a look at some sample policy prompts to see what a policy might look like..
Go to the Marketplace section of Builder and filter down to 'AI Analyst'. Activate the EnateAI - AI Analyst Integration
Go to the 'AI Analyst Configuration' section of System Settings, and click to 'Create a Policy'. This will display an AI Policy for you to start to fill in with details of the analysis activity you want AI to undertake for you. Remember, you can just write this in normal business terms (see the prompts section for examples of this).
Here is the information you can define when setting up a new AI Policy:
Name - give your Policy a sensible name so it can easily be identified from a list of other Policies, e.g. 'Invoice / Credit Note Reconciliation.
Input File Tags - At runtime your AI will analyse one or more documents as its input. You can test with sample ones while you build, but at runtime you need to tell the system which files to grab. Setting the file Tags here tells the AI 'at runtime, grab the files in the Action which have these tags, and use them as your source for analysing. Examples might be: 'Bank File', 'HR Update', 'State Tax Rules'.
Output File Tag - If your policy instructions ask for output to be provided in a file, you may want to tag that output file too, for easier use by other systems downstream. Example 'AI Reconciled'
AI Persona - For best results when creating a policy with instructions prompts, it's good to give the AI as much context as you can - one important way to do this is to say what kind of person they should act as, e.g. 'Do this analysis activity as if you were a Bank clerk', or an HR executive, or an Accounts Payable expert. You should either define a new person here for your policy, or pick from the existing list if the relevant persona has already been defined.
Instructions for AI - This is where the details of your instructions to the AI will go. This can simply be a copy/paste of your company policy for carrying out the activity, the rules and regulations for what to do, and how you'd like to receive the output.
AI Creativity Level - This will produce subtly different output depending on the setting. you can choose to have a play around wither depending on what type of analysis you're asking for here. It defaults to a 'balanced' setting, but there's options to make the responses more creative or more precision-focused.
A well-defined persona for your AI Analyst activity helps the AI do a better job when analysing and returning data to you. If the persona you're looking for isn't in the list to choose from, you should define one for this policy. At runtime, the AI will use this as input along with the more detailed instructions when determining what to do.
Here's whether the main part of the input instructions to the AI get defined. Remember you don't need to be writing this as code, in fact it works much more effectively if you don't. If you've got existing rules and regulations which define that task, paste them in here and test your output.
When you're writing instructions that involve heavy reference of e.g. Excel sheet columns, you'll obviously have to write something adequately detailed and precise which refers to them accurately, a good guide is still to write it in a way that you would be explaining it to someone you wanted to carry out the activity (example as below shows detailed column references but then a more human "it won't be a perfect match but it should appear in there somewhere".
While there are no fixed rules on how you format your instructions, if you want to make explicit reference to any of your Input documents, you can do so using a {{FileTag:NAME}} format. For example if you're created a tag called 'Bank', you can refer to this document in your instructions as {{FileTag:Bank}}
For more information and samples on how to write instructions, check out the link below:
Once you're happy with all your policy input settings, the next step is to test it.
You'll be asked to upload a sample document for each input file tag you've specified. Once you've uploaded these you can run your test.
Once you have clicked to run your policy test, you will be taken to the ‘Test AI Policy’ screen. You'll see the first of three Testing sections (since you can test up to two further iterations of your policy after the first test).
The prompt that you created for the AI Policy will be visible on screen and once the result has been returned, you will see either an output file or an error message will appear in the section above the prompt.
Once you've viewed your test results, if you're happy with the output of the test you can go ahead and click to 'Save & Set This Policy Live', or just 'Save this Policy' if you don't yet wish to set live. Alternatively, you can choose to iterate your prompt with the help of AI..
If you're not happy with the results you can select the 'Use AI to Iterate Prompt' button in the second section. The AI will then iterate the prompt used in the first test to improve it, and will then immediately rerun the test. You will be able to see the adjusted prompt text while you wait for the second test to complete running.
Once the second test has been completed, you'll have exactly the same options available to you for the Policy for a final time: Save it; Save it & Set Live; or choose to iterate with AI and run the test one last time.
At any point you can choose which iteration of the prompt you wish to save or save and set live. Please note that once all three versions of the prompt have been tested, if you're still not happy with the results you will need to start the process again in order to generate any further sets of test results.
Once you've set your new AI policy Live, all you need to do now is add an AI Analyst action into your case flow.
As part of the configuration, set your new AI Policy as the one which this action should use.
While the AI Analyst feature is released in Beta only, it should not be used for full production purposes, although can obviously be used to test the functionality. For now, the current feature can be used with the following known limitations, which will reduce over time as the underlying AI technology beds in:
Multiple output files cannot currently be generated
If functions timeout in Azure, the AI Analyst action's status will remain set as 'In Progress', due to abruptly terminating Azure function (this should not be a problem in production environment)
AI reads a maximum of 100 rows currently, and is dependent on server availability (files of more than 100 rows of data are currently not allowed)
In case if AI fails to make a decision or a tasks defined in policy it will provide an error file (only if you defined that in AI policy prompt)
The following file formats are currently supported: ['c', 'cpp', 'csv', 'docx', 'html', 'java', 'json', 'md', 'pdf', 'php', 'pptx', 'py', 'rb', 'tex', 'txt', 'css', 'jpeg', 'jpg', 'js', 'gif', 'png', 'tar', 'ts', 'xlsx', 'xml', 'zip']
Be clear about exactly what you want the AI to do, and how you'd like to receive your output. For examples and notes on how to write good AI prompts for activities such as this, .