commit 0da5b0e73d3b70bb962b0c08014c162275dc3d4d Author: DJP Date: Mon Sep 15 10:41:07 2025 -0400 Initial commit: AI Tool Usage Reporting Dashboard Complete suite of HTML dashboards for AI tool usage and conversation reporting via webhook APIs. Includes main navigation dashboard, multiple conversation reports (Latam, SBII, Sidekick), and AI tools usage report with comprehensive analytics. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000..f8c76bb Binary files /dev/null and b/.DS_Store differ diff --git a/Archive.zip b/Archive.zip new file mode 100644 index 0000000..b8dc273 Binary files /dev/null and b/Archive.zip differ diff --git a/README.md b/README.md new file mode 100644 index 0000000..4f10053 --- /dev/null +++ b/README.md @@ -0,0 +1,147 @@ +# AI Tool Usage Reporting Dashboard + +A comprehensive suite of HTML dashboards for reporting on AI tool usage and conversation data via webhook APIs. + +Total cost: $6.36 +Total duration (API): 17m 17.1s +Total duration (wall): 3h 40m 1.3s + +## Overview + +This repository contains several connected reporting tools: + +1. **Main Navigation Dashboard** (`main-index.html`): Central hub for accessing all reports +2. **Conversation Reports**: + - **Latam Report** (`index-Latam.html`): Latin America conversation metrics + - **SBII Report** (`index-SBII.html`): SBII platform conversation metrics + - **Sidekick Report** (`index-sidekick.html`): Sidekick assistant conversation metrics +3. **AI Tool Usage Report** (`SANDBOX-ai-tools-report.html`): Monitors usage of AI tools like Text-to-Voice and Text-to-Image services + +## Main Navigation Dashboard + +A clean, card-based interface for navigating between all available reports. Each report is represented by a color-coded card with a description of its purpose and a direct link to open it. + +## Conversation Reports + +### Features + +- **Simple Interface**: Clean, compact design using Montserrat font +- **Data Selection**: Dropdown menu to select different conversation datasets +- **Assistant Name Resolution**: + - Automatically looks up friendly names for assistant IDs + - Displays both name and ID in reports for easy identification + - Handles multiple assistant databases for Latam report +- **Pivot Table View**: + - Groups data by Assistant + - Shows conversation count per user + - Includes subtotals per Assistant + - Displays grand total of all conversations +- **Usage Graph**: + - Interactive line chart showing usage over time + - Filter data by time period (Today, 7 days, 30 days, 3 months, All time) + - Color-coded lines for different assistants + - Assistants labeled by name instead of ID for readability +- **CSV Export**: + - Export all raw data in CSV format + - Includes both assistant IDs and names in separate columns + - Timestamp included in filename for version tracking + +### How to Use Conversation Reports + +1. Open `main-index.html` in a web browser to access the navigation dashboard +2. Select the desired report from the available options +3. In each report, select the desired dataset from the dropdown (if applicable) +4. Click "Send Request" to fetch the data +5. View the usage graph showing trends over time, and use time filters to focus on specific periods +6. Explore the detailed pivot table showing conversation metrics +7. Use the "Export CSV" button to download the raw data as a CSV file + +## AI Tool Usage Report + +### Features + +- **Multi-view Dashboard**: Comprehensive analytics with multiple views +- **Data Filtering**: Filter by date range, user, model and sub-tool +- **Summary Cards**: Quick overview of usage metrics +- **Multiple Pivot Tables**: + - By User: See which users are using which tools + - By Model: Track usage across different AI models + - By Sub-Tool: Analyze which sub-tools are most popular +- **Detailed View**: See all usage entries with full details +- **CSV Export**: Download full raw data as a CSV file + +### How to Use AI Tools Report + +1. Open the AI Tools Report from the main dashboard +2. Select report type from dropdown (All Tools, Text-to-Voice, Text-to-Image) +3. Click "Send Request" to fetch the data +4. Use the filters to narrow down results by date, user, model or sub-tool +5. Navigate between tabs to see different views of the data + +## Technical Details + +- **Pure HTML/CSS/JavaScript**: Uses native web technologies +- **Chart.js Integration**: For interactive data visualization +- **Multiple API Endpoints**: + - Each report connects to appropriate data webhooks + - Assistant name lookup uses separate assistant database webhooks +- **Parallel API Calls**: Makes simultaneous requests to improve loading performance +- **Authentication**: Includes secure auth_code token with each request +- **Error Handling**: Gracefully handles API errors and displays user-friendly messages +- **Responsive Design**: Works on desktop and tablet devices + +## Data Structures + +### Conversation Data + +```json +[ + { + "data": { + "User_ID": "example@domain.com", + "StartTime": "2024-10-21T21:29:47.470Z", + "Brand Voice Setting": "standard", + "Title": "Example Title", + "EndTime": "2024-10-21T21:29:57.203Z", + "Assistant_ID": "asst_identifier", + "Assistant_Key": "key_value", + "Conversation_ID": "conversation_id", + "Vision_Images": "" + } + } +] +``` + +### Assistant Data + +```json +[ + { + "data": { + "Name": "Friendly Assistant Name", + "Assistant ID": "asst_identifier", + "Instructions": "Assistant instructions...", + "Model": "claude-3-sonnet-20240229" + } + } +] +``` + +### AI Tool Usage Data + +```json +[ + { + "data": { + "Date": "2024-05-15T23:00:00.000Z", + "TOOL": "TEXT2VOICE", + "USER": "user@example.com", + "MODEL": "eleven_multilingual_v2", + "PROMPT": "Example prompt text", + "SUB_TOOL": "Elevenlabs", + "SETTINGS": "Voice settings", + "BOX_FILE_ID": "123456" + } + } +] +``` \ No newline at end of file diff --git a/SANDBOX-ai-tools-report.html b/SANDBOX-ai-tools-report.html new file mode 100644 index 0000000..05a7313 --- /dev/null +++ b/SANDBOX-ai-tools-report.html @@ -0,0 +1,1110 @@ + + + + + + AI Tool Usage Report + + + + +
+

AI Tool Usage Report

+ +
+ + + +
+ +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ +
+
+

Loading data, please wait...

+
+ +
+ +
+
+
+
Summary
+
By User
+
By Model
+
By Sub-Tool
+
Detailed View
+
+ +
+
+ +
+
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+
+
+
+ + + + \ No newline at end of file diff --git a/Versions/.DS_Store b/Versions/.DS_Store new file mode 100644 index 0000000..e145e88 Binary files /dev/null and b/Versions/.DS_Store differ diff --git a/Versions/Archive.zip b/Versions/Archive.zip new file mode 100644 index 0000000..8aded87 Binary files /dev/null and b/Versions/Archive.zip differ diff --git a/Versions/V0.1/README.md b/Versions/V0.1/README.md new file mode 100644 index 0000000..4f10053 --- /dev/null +++ b/Versions/V0.1/README.md @@ -0,0 +1,147 @@ +# AI Tool Usage Reporting Dashboard + +A comprehensive suite of HTML dashboards for reporting on AI tool usage and conversation data via webhook APIs. + +Total cost: $6.36 +Total duration (API): 17m 17.1s +Total duration (wall): 3h 40m 1.3s + +## Overview + +This repository contains several connected reporting tools: + +1. **Main Navigation Dashboard** (`main-index.html`): Central hub for accessing all reports +2. **Conversation Reports**: + - **Latam Report** (`index-Latam.html`): Latin America conversation metrics + - **SBII Report** (`index-SBII.html`): SBII platform conversation metrics + - **Sidekick Report** (`index-sidekick.html`): Sidekick assistant conversation metrics +3. **AI Tool Usage Report** (`SANDBOX-ai-tools-report.html`): Monitors usage of AI tools like Text-to-Voice and Text-to-Image services + +## Main Navigation Dashboard + +A clean, card-based interface for navigating between all available reports. Each report is represented by a color-coded card with a description of its purpose and a direct link to open it. + +## Conversation Reports + +### Features + +- **Simple Interface**: Clean, compact design using Montserrat font +- **Data Selection**: Dropdown menu to select different conversation datasets +- **Assistant Name Resolution**: + - Automatically looks up friendly names for assistant IDs + - Displays both name and ID in reports for easy identification + - Handles multiple assistant databases for Latam report +- **Pivot Table View**: + - Groups data by Assistant + - Shows conversation count per user + - Includes subtotals per Assistant + - Displays grand total of all conversations +- **Usage Graph**: + - Interactive line chart showing usage over time + - Filter data by time period (Today, 7 days, 30 days, 3 months, All time) + - Color-coded lines for different assistants + - Assistants labeled by name instead of ID for readability +- **CSV Export**: + - Export all raw data in CSV format + - Includes both assistant IDs and names in separate columns + - Timestamp included in filename for version tracking + +### How to Use Conversation Reports + +1. Open `main-index.html` in a web browser to access the navigation dashboard +2. Select the desired report from the available options +3. In each report, select the desired dataset from the dropdown (if applicable) +4. Click "Send Request" to fetch the data +5. View the usage graph showing trends over time, and use time filters to focus on specific periods +6. Explore the detailed pivot table showing conversation metrics +7. Use the "Export CSV" button to download the raw data as a CSV file + +## AI Tool Usage Report + +### Features + +- **Multi-view Dashboard**: Comprehensive analytics with multiple views +- **Data Filtering**: Filter by date range, user, model and sub-tool +- **Summary Cards**: Quick overview of usage metrics +- **Multiple Pivot Tables**: + - By User: See which users are using which tools + - By Model: Track usage across different AI models + - By Sub-Tool: Analyze which sub-tools are most popular +- **Detailed View**: See all usage entries with full details +- **CSV Export**: Download full raw data as a CSV file + +### How to Use AI Tools Report + +1. Open the AI Tools Report from the main dashboard +2. Select report type from dropdown (All Tools, Text-to-Voice, Text-to-Image) +3. Click "Send Request" to fetch the data +4. Use the filters to narrow down results by date, user, model or sub-tool +5. Navigate between tabs to see different views of the data + +## Technical Details + +- **Pure HTML/CSS/JavaScript**: Uses native web technologies +- **Chart.js Integration**: For interactive data visualization +- **Multiple API Endpoints**: + - Each report connects to appropriate data webhooks + - Assistant name lookup uses separate assistant database webhooks +- **Parallel API Calls**: Makes simultaneous requests to improve loading performance +- **Authentication**: Includes secure auth_code token with each request +- **Error Handling**: Gracefully handles API errors and displays user-friendly messages +- **Responsive Design**: Works on desktop and tablet devices + +## Data Structures + +### Conversation Data + +```json +[ + { + "data": { + "User_ID": "example@domain.com", + "StartTime": "2024-10-21T21:29:47.470Z", + "Brand Voice Setting": "standard", + "Title": "Example Title", + "EndTime": "2024-10-21T21:29:57.203Z", + "Assistant_ID": "asst_identifier", + "Assistant_Key": "key_value", + "Conversation_ID": "conversation_id", + "Vision_Images": "" + } + } +] +``` + +### Assistant Data + +```json +[ + { + "data": { + "Name": "Friendly Assistant Name", + "Assistant ID": "asst_identifier", + "Instructions": "Assistant instructions...", + "Model": "claude-3-sonnet-20240229" + } + } +] +``` + +### AI Tool Usage Data + +```json +[ + { + "data": { + "Date": "2024-05-15T23:00:00.000Z", + "TOOL": "TEXT2VOICE", + "USER": "user@example.com", + "MODEL": "eleven_multilingual_v2", + "PROMPT": "Example prompt text", + "SUB_TOOL": "Elevenlabs", + "SETTINGS": "Voice settings", + "BOX_FILE_ID": "123456" + } + } +] +``` \ No newline at end of file diff --git a/Versions/V0.1/SANDBOX-ai-tools-report.html b/Versions/V0.1/SANDBOX-ai-tools-report.html new file mode 100644 index 0000000..05a7313 --- /dev/null +++ b/Versions/V0.1/SANDBOX-ai-tools-report.html @@ -0,0 +1,1110 @@ + + + + + + AI Tool Usage Report + + + + +
+

AI Tool Usage Report

+ +
+ + + +
+ +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ +
+
+

Loading data, please wait...

+
+ +
+ +
+
+
+
Summary
+
By User
+
By Model
+
By Sub-Tool
+
Detailed View
+
+ +
+
+ +
+
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+
+
+
+ + + + \ No newline at end of file diff --git a/Versions/V0.1/index-Latam.html b/Versions/V0.1/index-Latam.html new file mode 100644 index 0000000..4faaba7 --- /dev/null +++ b/Versions/V0.1/index-Latam.html @@ -0,0 +1,703 @@ + + + + + + Conversation Reporting Tool + + + + + +
+

Conversation Reporting Tool

+ +
+ + + +
+ + + +
+
+

Loading data, please wait...

+
+ +
+ + + +
+ +
+
+ + + + \ No newline at end of file diff --git a/Versions/V0.1/index-Latam.html.zip b/Versions/V0.1/index-Latam.html.zip new file mode 100644 index 0000000..807c5fb Binary files /dev/null and b/Versions/V0.1/index-Latam.html.zip differ diff --git a/Versions/V0.1/index-SBII.html b/Versions/V0.1/index-SBII.html new file mode 100644 index 0000000..c65bc60 --- /dev/null +++ b/Versions/V0.1/index-SBII.html @@ -0,0 +1,699 @@ + + + + + + Conversation Reporting Tool + + + + + +
+

Conversation Reporting Tool

+ +
+ + + +
+ + + +
+
+

Loading data, please wait...

+
+ +
+ + + +
+ +
+
+ + + + \ No newline at end of file diff --git a/Versions/V0.1/index-SBII.html.zip b/Versions/V0.1/index-SBII.html.zip new file mode 100644 index 0000000..6cc08c1 Binary files /dev/null and b/Versions/V0.1/index-SBII.html.zip differ diff --git a/Versions/V0.1/index-convo.html b/Versions/V0.1/index-convo.html new file mode 100644 index 0000000..0d68558 --- /dev/null +++ b/Versions/V0.1/index-convo.html @@ -0,0 +1,309 @@ + + + + + + Conversation Reporting Tool + + + + +
+

Conversation Reporting Tool

+ +
+ + +
+ +
+
+

Loading data, please wait...

+
+ +
+ +
+ +
+
+ + + + \ No newline at end of file diff --git a/Versions/V0.1/index-sidekick.html b/Versions/V0.1/index-sidekick.html new file mode 100644 index 0000000..06b2b3f --- /dev/null +++ b/Versions/V0.1/index-sidekick.html @@ -0,0 +1,699 @@ + + + + + + Conversation Reporting Tool + + + + + +
+

Conversation Reporting Tool

+ +
+ + + +
+ + + +
+
+

Loading data, please wait...

+
+ +
+ + + +
+ +
+
+ + + + \ No newline at end of file diff --git a/Versions/V0.1/index.html b/Versions/V0.1/index.html new file mode 100644 index 0000000..d24f9a1 --- /dev/null +++ b/Versions/V0.1/index.html @@ -0,0 +1,151 @@ + + + + + + AI Reporting Dashboard + + + + +
+

AI Reporting Dashboard

+ +
+ Welcome to the AI Reporting Dashboard. Select one of the reporting tools below to access detailed analytics and usage data for various AI services and platforms. +
+ +
+
+
SANDBOX AI Tools
+
+ Track usage of AI tools like Text-to-Voice and Text-to-Image services with comprehensive analytics by user, model, and sub-tool. +
+ +
+ +
+
Latam Report
+
+ View analytics and data specifically for Latin American operations and AI tool usage across the region. +
+ +
+ +
+
SBII Report
+
+ Access data and metrics for the SBII platform, including usage patterns and performance analytics. +
+ +
+ +
+
Sidekick Report
+
+ View data for Sidekick assistant usage, including conversation metrics and user engagement analysis. +
+ +
+ +
+
LLM Report
+
+ Detailed analytics on conversations LLM platforms, with user metrics and interaction data. +
+ +
+
+
+ + \ No newline at end of file diff --git a/Versions/index-Latam.html.zip b/Versions/index-Latam.html.zip new file mode 100644 index 0000000..807c5fb Binary files /dev/null and b/Versions/index-Latam.html.zip differ diff --git a/Versions/index-SBII.html.zip b/Versions/index-SBII.html.zip new file mode 100644 index 0000000..6cc08c1 Binary files /dev/null and b/Versions/index-SBII.html.zip differ diff --git a/favicon.ico b/favicon.ico new file mode 100644 index 0000000..f9013af Binary files /dev/null and b/favicon.ico differ diff --git a/index-Latam.html b/index-Latam.html new file mode 100644 index 0000000..d1fe835 --- /dev/null +++ b/index-Latam.html @@ -0,0 +1,1195 @@ + + + + + + Conversation Reporting Tool + + + + + +
+

Conversation Reporting Tool

+ +
+ + + +
+ + + + + +
+
+

Loading data, please wait...

+
+ +
+ + + + + +
+ +
+
+ + + + \ No newline at end of file diff --git a/index-SBII.html b/index-SBII.html new file mode 100644 index 0000000..3cc7dff --- /dev/null +++ b/index-SBII.html @@ -0,0 +1,1191 @@ + + + + + + Conversation Reporting Tool + + + + + +
+

Conversation Reporting Tool

+ +
+ + + +
+ + + + + +
+
+

Loading data, please wait...

+
+ +
+ + + + + +
+ +
+
+ + + + \ No newline at end of file diff --git a/index-convo.html b/index-convo.html new file mode 100644 index 0000000..0d68558 --- /dev/null +++ b/index-convo.html @@ -0,0 +1,309 @@ + + + + + + Conversation Reporting Tool + + + + +
+

Conversation Reporting Tool

+ +
+ + +
+ +
+
+

Loading data, please wait...

+
+ +
+ +
+ +
+
+ + + + \ No newline at end of file diff --git a/index-sidekick.html b/index-sidekick.html new file mode 100644 index 0000000..06b2b3f --- /dev/null +++ b/index-sidekick.html @@ -0,0 +1,699 @@ + + + + + + Conversation Reporting Tool + + + + + +
+

Conversation Reporting Tool

+ +
+ + + +
+ + + +
+
+

Loading data, please wait...

+
+ +
+ + + +
+ +
+
+ + + + \ No newline at end of file diff --git a/index.html b/index.html new file mode 100644 index 0000000..68ab0dc --- /dev/null +++ b/index.html @@ -0,0 +1,151 @@ + + + + + + AI Reporting Dashboard + + + + +
+

AI Reporting Dashboard

+ +
+ Welcome to the AI Reporting Dashboard. Select one of the reporting tools below to access detailed analytics and usage data for various AI services and platforms. +
+ +
+
+
SANDBOX AI Tools
+
+ Track usage of AI tools like Text-to-Voice and Text-to-Image services with comprehensive analytics by user, model, and sub-tool. +
+ +
+ +
+
Latam Report
+
+ View analytics and data specifically for Latin American operations and AI tool usage across the region. +
+ +
+ +
+
SBII Report
+
+ Access data and metrics for the SBII platform, including usage patterns and performance analytics. +
+ +
+ +
+
Sidekick Report
+
+ View data for Sidekick assistant usage, including conversation metrics and user engagement analysis. +
+ +
+ +
+
LLM Report
+
+ Detailed analytics on conversations LLM platforms, with user metrics and interaction data. +
+ +
+
+
+ + \ No newline at end of file