
Description
The Load AI Agent Node lets you load the AI Agent’s configuration and persona data into the Input or Context object. The primary use case is to enhance personalization in prompt generation with the LLM Prompt Node. To do so, place the Load AI Agent Node above the LLM Prompt Node in the Flow editor. You can also place this Node above any other Nodes to access AI Agent information.Parameters
| Parameter | Type | Description |
|---|---|---|
| AI Agent | Selector | Select the AI Agent. |
| How to handle the result | Selector | Determine how to handle the prompt result:
|
| Input Key | CognigyScript | The parameter appears when Store in Input is selected. The result is stored in the aiAgentConfiguration Input object by default. You can specify another key. |
| Context Key | CognigyScript | The parameter appears when Store in Context is selected. The result is stored in the aiAgentConfiguration key in the Context object by default. You can specify another key. |