Skip to main content

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

ParameterTypeDescription
AI AgentSelectorSelect the AI Agent.
How to handle the resultSelectorDetermine how to handle the prompt result:
  • Store in Input — stores the result in the Input object.
  • Store in Context — stores the result in the Context object.
Input KeyCognigyScriptThe 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 KeyCognigyScriptThe 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.