The generate insights task analyses evaluated LLM task outputs in an automated test and suggests refined prompts.
For example, if you created an automated test to improve your rewrite utterance task prompt, the generate insights task would identify common issues based on the evaluation result (and, optionally, your comments), and generate some refined prompts for the rewrite utterances task that you can use for further testing.
The generate insights task is in the automated tests usage. You need an administrator or publisher role in your team to create a usage.
By default, new usages you create are set as the primary usage (the usage the chatbot will use). You can create a usage without setting it as primary if you need to.
When editing tasks and usages, check the top of the usage page to see if it is the primary usage and whether your changes must be published to take effect. If there is no message indicating your changes must be published, then the changes are applied immediately and will not appear in versions.
You can test your task by running an automated test.
To create an automated tests usage, you must have:
- Generative AI configurations and automated tests enabled for your chatbot by inGenious AI support.
- A connector to power the task.
You can see the list of connectors that support the task when you create the usage.
Use the same usage
Your chatbot can only use one usage of each type at a time, so configure both the evaluate test cases and generate insights task in the same usage.
To create an automated tests usage and configure the generate insights task:
- Click Manage in the left navigation, then click LLM Usages.
- Click the filter icon next to + LLM Usage and make sure Show Platform Usages is selected.
- Click your primary automated tests usage.
If you don't have a usage for automated tests, create one:- Click + LLM Usage.
- In the Type field, select Automated Tests.
- Optionally, edit the Name for the usage.
- If you don't want the chatbot to use this task yet, clear the Set As Primary checkbox.
- Select the Connector to use for the task or select Create compatible Connector to create a new connector.
Only compatible connectors will be available.
You must have an administrator role in your team to create connectors. - Click Create.
- Click the Generate Insights tab.
- By default, the inGenious AI platform waits a maximum of 120 seconds for the model to generate a result. If it doesn't receive a result within that time, it notifies your content creator that the request timed out.
If you want to change this period:- Expand the Timeout section.
- Update the number of seconds the inGenious AI platform will wait.
- Click Save.