Analytics
Measuring and optimizing your AI Knowledge agents performance and resource usage
AI Knowledge Analytics provides comprehensive visibility into your AI agents’ performance, usage patterns, and resource consumption. These powerful dashboards help you optimize costs, identify improvement opportunities, and ensure your AI solutions deliver maximum value to your organization.
Key Analytics Features
Usage Metrics
Track conversations, users, and document generation across all agents
Token Consumption
Monitor input and output token usage with detailed breakdowns
Cost Analysis
Track expenditure with detailed cost attribution by agent and model
Performance Trends
Identify usage patterns and performance changes over time
Agent Comparison
Compare effectiveness and efficiency across your AI agent portfolio
Custom Date Ranges
Analyze data across flexible time periods from 1 day to 12 months
Analytics Dashboards
AI Knowledge Analytics offers multiple dashboards to help you understand different aspects of your AI deployment.
The Usage Analytics dashboard provides detailed insights into how your agents are being utilized:
Key Metrics
- Generated Responses: Total number of AI responses generated across all agents
- End Users: Number of unique users interacting with your agents
- Created Documents: Total documents generated by your agents
- Total Tokens Count: Aggregate token usage across all conversations
- Input Tokens: Tokens consumed by user queries and context
- Output Tokens: Tokens generated in AI responses
This dashboard helps you understand usage patterns and user engagement, allowing you to identify your most valuable agents and usage trends over time.
The Usage Analytics dashboard provides detailed insights into how your agents are being utilized:
Key Metrics
- Generated Responses: Total number of AI responses generated across all agents
- End Users: Number of unique users interacting with your agents
- Created Documents: Total documents generated by your agents
- Total Tokens Count: Aggregate token usage across all conversations
- Input Tokens: Tokens consumed by user queries and context
- Output Tokens: Tokens generated in AI responses
This dashboard helps you understand usage patterns and user engagement, allowing you to identify your most valuable agents and usage trends over time.
The Cost Dashboard provides visibility into your AI expenditure:
Key Metrics
- Global Cost: Total expenditure across all agents
- Cost Trends: Percentage change compared to previous periods
- Agent Distribution: Cost breakdown by individual agent
- Model Distribution: Cost breakdown by AI model
- Provider Distribution: Cost breakdown by model provider
This dashboard helps you track expenses, identify cost drivers, and implement optimization strategies to maximize ROI while maintaining performance.
The Agent Analytics dashboard provides detailed metrics for individual agents:
Key Metrics
- Token Usage: Input and output tokens per agent
- Message Count: Number of interactions per agent
- Document Creation: Documents generated by each agent
- User Engagement: Number of unique users per agent
- Performance Metrics: Response time and quality indicators
This dashboard helps you understand how specific agents are performing, allowing you to identify high-performing agents and those that may need improvement.
The Performance Optimization dashboard identifies opportunities to improve efficiency:
Key Insights
- Token Efficiency: Identify agents with high token consumption
- Response Quality: Track metrics related to response effectiveness
- Usage Patterns: Understand peak usage times and resource needs
- Optimization Recommendations: AI-generated suggestions for improvement
This dashboard helps you fine-tune your agents for optimal performance and cost-efficiency.
Using Analytics Effectively
Access Analytics
Navigate to the Analytics section from your AI Knowledge dashboard.
Select time period
Choose your desired timeframe for analysis using the date selectors.
Options include standard periods (1 day, 7 days, 30 days, 12 months) or custom date ranges.
Review key metrics
Examine the main performance indicators for your agents.
Pay special attention to significant changes or trends in usage and costs.
Drill down into specific agents
Click on individual agents to see detailed performance metrics.
Compare agents to identify best practices and improvement opportunities.
Best Practices for Analytics
Regular Reviews
Schedule weekly or monthly analytics reviews to track performance trends
Benchmark Agents
Compare similar agents to establish performance benchmarks
Token Optimization
Identify and optimize high token consumption scenarios
User Feedback Correlation
Connect analytics data with user feedback for deeper insights
Cost Allocation
Use analytics to allocate AI costs to appropriate departments
Continuous Improvement
Implement regular optimizations based on analytics insights
Token Optimization Strategies
Based on analytics insights, consider these strategies to optimize token usage and costs:
Knowledge base refinement
Streamline knowledge bases to include only the most relevant information.
Prompt engineering
Refine system prompts and instructions to be more efficient.
Model selection
Choose the most cost-effective model for each use case.
Context window management
Optimize how much context is included in each interaction.
Custom usage analytics
Both LLM and embeddings usage are tracked by usage
events, persisted with an aggPayload
custom mapping to enable numeric aggregations in Elasticsearch/Opensearch requests.
Example usage
:
Example ES/OS aggregations :
Next Steps
Explore more detailed guides for AI Knowledge Analytics:
Was this page helpful?