Skip to main content

AI Assistant Input and Output

Input args

Each assistant has a fixed input parameter: user input (userInput). In addition, you can customize other input args. These parameters need to be assigned values when using the assistant. The setup steps are as follows:

Loading...

Click the Settings button in the upper right corner of the process editor to open the settings window and add input args.

If the assistant has custom input args configured, these parameters need to be assigned values when using AI assistants in portals or pages.

Output content

Runtime process log output

When using AI assistants in portals or pages, you can specify the assistant to output runtime process log content with the following options:

  • Output Brief Process Logs: Will not output assistant runtime process logs, and the large model in Agent nodes will only output simple runtime process logs. This mode has relatively simple output content and relatively faster execution.
  • Output Detailed Process Logs: Outputs assistant runtime process logs, and the large model in Agent nodes will output detailed runtime processes and tool call logs. The logs output in this mode can be used for observation and debugging, but the execution process is relatively slower, so please choose carefully.
  • No Process Log Output: Will not output runtime process logs.

State data output

By configuring Output Data to Conversation on nodes, when the node runs, the specified state data will be sent to the conversation. Nodes that support this configuration include: AIAgent nodes, Function nodes, IF-ELSE nodes, and Iteration nodes. The output data will use built-in widgets for rendering by default, and you can also Use custom widgets for rendering.

The configuration method is as follows:

Loading...

Action in conversation node output

The Data to be displayed configured in action in assistant node will be output to the assistant conversation.

Action in page node output

The Operation prompt configured in action in page node will be output to the assistant conversation.

JitAI AssistantBeta
Powered by JitAI