The Pricefx Copilot includes a natural language converter that transforms technical agent definitions into human-readable descriptions. This feature allows you to understand exactly what the agent will do before it is created on the partition.
Context
When you request the creation of an agent in Pricefx Copilot, the system generates a technical JSON definition. To support an iterative approach to agent creation, Copilot processes this JSON and displays a clear, human-readable description in the chat interface. This allows you to confirm or request changes to the configuration before final deployment.
How It Works
The converter transforms the Agent Generator's JSON output into plain English. It extracts relevant business-level details while omitting technical implementation data. The conversion process typically completes in less than 15 seconds for standard configurations.
Key Elements Described
The natural language output covers all critical components of an Agent configuration:
-
Business Objective – A summary of the Agent's purpose, such as identifying customers with significant revenue but suboptimal margins.
-
Approach and Data – Details regarding the Data Source (e.g.,
DM.Standard_Sales_Data), Currency, and the number of data series used. -
Filters – A description of the data constraints, such as Quantity is greater than 0.1 or PricingDate is less than 3 months ago.
-
Computation – Information on how data is grouped and calculated, including Measures like Product Margin % or Profit.
-
Detection Rules – The logic used to trigger agent actions, such as Margin Below Group Average is greater than 0.05.
The converter handles edge cases like missing fields or null values by applying appropriate defaults or warnings to ensure the description remains accurate.
Benefits of Natural Language Descriptions
Using natural language descriptions provides several advantages during the agent setup process:
-
Verification – You can verify that complex conditions and multiple conditions are accurately reflected in the agent's logic.
-
Consistency – The converter ensures that the output remains consistent even if the same JSON is processed multiple times.
-
Confirmation – The text is sent back to the Pricefx Copilot chat for end-user confirmation, preventing the creation of incorrectly configured agents.
-
Readability – Technical formulas are simplified; for example, instead of showing
SUM({field}), the description displays the actual field name used in the calculation.
If the description does not match your requirements, you can request changes to the agent draft using plain language directly in the Copilot chat.