Ask AI Agent

This action interfaces with a Profound AI Agent to perform inference on an AI model and returns the model’s output. It is a wrapper for the pjs.askAgent() API.

image-20240304-171620.png

Select AI Agent

Choose an agent from the list of agents in your workspace or pathlist.

Agent instruction variables

After selecting an Agent, its list of instruction variables will appear. For each defined Agent Instruction Variable you would like to populate, select or type in a value.

Message

Allows you to send a question to the AI agent. If an empty message is specified, the agent will respond just based on instructions and data provided.

Custom configuration

Allows you to provide additional configuration properties to send to the model using a JSON object.

Work variable to capture agent response

Type or select a work variable to capture the agent's response. If the response format is specified as a JSON object in the custom configuration, the response will be captured into a record work variable; otherwise, it will be captured as a simple string value.