Chatbot Analytics Dashboard

Registered User Chats

{{ user_stats.chats|default:0 }}

Guest User Chats

{{ guest_stats.chats|default:0 }}

All Total Chats

{{ stats.total_chats|default:0 }}

Total Input Characters

{{ stats.total_input_chars|default:0 }}

Total Output Characters

{{ stats.total_output_chars|default:0 }}

All Total Characters

{{ all_chars|default:0 }}

Total Input Tokens

{{ stats.total_input_tokens|default:0 }}

Total Output Tokens

{{ stats.total_output_tokens|default:0 }}

All Total Tokens

{{ stats.total_tokens|default:0 }}

Total Cost (USD)

${{ stats.total_cost|floatformat:6|default:"0.000000" }}

Remaining Tokens

{{ remaining_tokens|default:0 }}

Character Usage Breakdown

All Chat Messages

{% if search_query or start_date or end_date %} Reset {% endif %}
{% for chat in page_obj %} {% endfor %}
User Type Message Response Input Chars Output Chars Input Tokens Output Tokens Cost (USD) Timestamp
{% if chat.user %} {{ chat.user.username }} {% else %} Guest {% endif %} {{ chat.message }} {{ chat.response }} {{ chat.input_count }} {{ chat.output_count }} {{ chat.input_tokens }} {{ chat.output_tokens }} ${{ chat.cost_usd|floatformat:6 }} {{ chat.created_at }}