{% extends 'base.html' %} {% load crispy_forms_tags %} {% load dashboard_extras %} {% block title %} Upload Data | Chat Analytics {% endblock %} {% block content %}
The CSV file should contain the following columns:
| Column | Description | Type |
|---|---|---|
| session_id | Unique identifier for the chat session | String |
| start_time | When the session started | Datetime |
| end_time | When the session ended | Datetime |
| ip_address | IP address of the user | String |
| country | Country of the user | String |
| language | Language used in the conversation | String |
| messages_sent | Number of messages in the conversation | Integer |
| sentiment | Sentiment analysis of the conversation | String |
| escalated | Whether the conversation was escalated | Boolean |
| forwarded_hr | Whether the conversation was forwarded to HR | Boolean |
| full_transcript | Full transcript of the conversation | Text |
| avg_response_time | Average response time in seconds | Float |
| tokens | Total number of tokens used | Integer |
| tokens_eur | Cost of tokens in EUR | Float |
| category | Category of the conversation | String |
| initial_msg | First message from the user | Text |
| user_rating | User rating of the conversation | String |