0) { $current_page = $page; } } $base_url = add_query_arg( array( 'page' => 'ai-product-assistant', 'tab' => 'statistics', 'time_range' => $current_time_range ), admin_url('admin.php') ); ?>

total_requests); ?>
total_request_tokens); ?>
total_response_tokens); ?>
total_tokens); ?>
avg_execution_time, 2)); ?>s
unique_users); ?>

1) : ?>
' . esc_html(number_format_i18n($total_items)) . '' )); ?> 1) : ?> ' . esc_html(number_format_i18n($current_page)) . '', '' . esc_html(number_format_i18n($total_pages)) . '' )); ?>
timestamp))); ?> user_role); ?> api_provider); ?> api_model); ?> request_type); ?> request_prompt; $max_length = 30; // Maximum characters to display if (mb_strlen($prompt) > $max_length) { echo esc_html(mb_substr($prompt, 0, $max_length)) . '...'; } else { echo esc_html($prompt); } ?> request_tokens); ?> response_tokens); ?> request_tokens + $stat->response_tokens); ?> execution_time, 2)); ?>
1) : ?>
' . esc_html(number_format_i18n($total_items)) . '' )); ?> 1) : ?> ' . esc_html(number_format_i18n($current_page)) . '', '' . esc_html(number_format_i18n($total_pages)) . '' )); ?>