Purpose
This activity allows a workflow to send data and a question to an LLM, and receive a structured response. It's useful for extracting insights, classifying data, or generating suggestions as part of an automated process.
Configuration
To configure the AI Analysis Activity, you can provide a question and response structure. The Activity provides an output based on the question in the format that was requested. This can then be used in following workflow activities for further data transformation or creating records in ReadiNow
Input Configuration
Setting | Description |
---|---|
Question | The question to pass to the LLM. This can include text or expressions |
Context Document | A document that can be passed to the LLM to be referenced as part of the question |
Output Configuration
The Output of this activity can be either
- Text (generated plain text)
- List (a generated list or items that can be used in subsequent activities)
- Object (a single dynamic record)
Setting | Description |
---|---|
Response Structure | Desired structure of the response
|
Item Count (only applicable for List output) | Number of items to return in the generated list |
Response Fields (only applicable for List and Object output) | Field description for each item in the list / object to be generated
Can add as many fields as required |
Advanced Configuration
Setting | Description |
---|---|
Enable Response Cache | If enabled, the activity will cache calls to the LLM and return the same value for the same query, reducing token usage and increasing performance. |
Output Parameters
Parameter | Type | Description |
---|---|---|
[Activity Name].AI Prompt | Text | The prompt that was sent to the LLM |
[Activity Name].Raw Response | Text | The raw processed response from the LLM |
If output is set to text: | ||
[Activity Name].Response (if text) | Text | The Processed response from the LLM |
If output is set to list: | ||
[Activity Name].[Response].Items | List | the list of generated items |
Each item contains the following properties.
| Various | Ability to access property of each individual list item |
If output is set to object: | ||
[Activity Name].[Response] | Dynamic | The object generated by the LLM |