Guides

Use Case KPIs

Overview

Key Performance Indicators (KPIs) in Pay-i allow you to define and track custom business metrics associated with your GenAI-infused applications. Pay-i already provides many standard metrics for use cases out of the box (such as cost, usage, failure rates, and performance metrics), but KPIs let you add your own business-specific measurements.

KPIs are always associated with a specific use case instance (identified by a use_case_id). This connection ensures that your custom metrics are linked to the exact context in which they were generated, providing a comprehensive view alongside the standard metrics Pay-i already tracks.

When to Use KPIs

KPIs are valuable when you need to track metrics beyond what Pay-i automatically provides, such as:

  • Quality scores for AI-generated outputs: Track metrics like Deflection Rate in chatbots to measure how often the AI successfully handles queries without human intervention
  • User satisfaction ratings from feedback systems: Implement Customer Satisfaction scores on a Likert scale (1-5) to measure user sentiment about AI interactions
  • Business outcomes like conversion rates or revenue generated: Create metrics like Clickthrough Rate, Close Rate, and Conversion $ Value to directly measure business impact
  • Custom performance criteria specific to your application: Define boolean KPIs (true/false) for application-specific success conditions
  • Internal benchmarks for your AI features: Set up goals for each KPI (e.g., "5.00% True" for Clickthrough Rate) and track goal attainment
  • ROI measurements for specific business use cases: Implement Value metrics (a special type of system KPI) to calculate financial return on investment

Types of KPIs

Pay-i supports several KPI types to accommodate different measurement approaches:

KPI TypeDescriptionExample Use
booleanBinary measurements (true/false)Pass/fail assessments, success indicators
numberNumeric measurements with no specific scaleTime saved, revenue generated
percentageMeasurements on a 0-100% scaleAccuracy rates, completion rates
likert5Measurements on a 5-point Likert scaleUser satisfaction ratings (1-5)
likert7Measurements on a 7-point Likert scaleMore nuanced satisfaction scales (1-7)
likert10Measurements on a 10-point Likert scaleDetailed rating systems (1-10)

The KPI type helps contextualize the measurement and ensures proper display in dashboards and reports.

Real-World KPI Examples

Based on production implementations, here are common KPIs used in successful GenAI applications:

KPI NameKPI TypeTypical GoalDescriptionCommon Application
Clickthrough Rateboolean5.00% TrueTracks when users click on AI-generated contentContent generation, ads
Close Rateboolean1.00% TrueMeasures conversion after engaging with AI contentE-commerce, sales
Deflection Rateboolean25.00% TrueTracks when AI resolves issues without human interventionChat bots, customer support
Conversion $ Valuenumber$10.00Measures monetary value of conversions from AI interactionsAd generation, product recommendations
Time Savednumber2 minutesQuantifies efficiency gains from using AI solutionsDocument processing, content creation, customer support
Money Savednumber$5.00Measures direct cost reduction from AI automationWorkflow automation, content generation, customer support
Customer Satisfactionlikert53.50 / 5.00Captures user sentiment about AI interaction qualityChat bots, content generation

These KPIs represent proven metrics that help quantify both the technical performance and business impact of your GenAI applications. The typical goal values represent benchmarks from successful implementations, though your specific targets may vary based on your industry and use case.

Dashboard Visualization of KPI Data

Pay-i automatically adjusts the visualization of KPI data based on the KPI type to provide the most meaningful representation:

Boolean KPIs

KPIs like Clickthrough Rate, Close Rate, and Deflection Rate are displayed as:

  • Bar charts showing the distribution of true vs. false values
  • Percentage calculations showing the proportion of true values (e.g., "5.23% True")
  • Goal attainment indicators comparing actual performance to thresholds (e.g., "Goal: 5.00% True")

These visualizations make it easy to see how often the desired outcome is occurring and whether you're meeting your targets.

Numeric KPIs

KPIs like Conversion $ Value, Time Saved, and Money Saved are displayed as:

  • Histograms showing the distribution across value ranges
  • Average value calculations with goal comparisons (e.g., "$12.47 (Goal: $10.00)")
  • Aggregate totals for organization-wide impact assessment

These visualizations help identify patterns in your numeric data and track the overall financial or operational impact of your AI features.

Likert Scale KPIs

KPIs like Customer Satisfaction are displayed as:

  • Histograms showing response distribution across the scale points (1-5, 1-7, or 1-10)
  • Average score calculations with goal comparisons (e.g., "3.85 / 5.00 (Goal: 3.50)")
  • Trend analysis to track changes in sentiment over time

These visualizations provide insight into user sentiment and satisfaction with your AI features, helping you identify areas for improvement.

User-Defined vs. System KPIs

Pay-i has two categories of KPIs:

  1. User-Defined KPIs: These are custom metrics that you create and manage through the SDK, as described in this document. They allow you to track business-specific measurements of your choosing.

  2. System KPIs: These are specialized metrics managed by Pay-i itself. The primary type of system KPI is the Value metric, which specifically quantifies business impact and ROI from your GenAI-infused applications.

Unlike user-defined KPIs, Value metrics are configured exclusively through the Pay-i UI rather than the SDK. This centralized approach ensures consistent calculation methodologies across your organization and provides specialized dashboards for financial reporting.

For comprehensive details on implementing Value metrics for ROI measurement, see Value Metrics.

Related Resources