ntopng/httpdocs/tables_config/llm_by_user.json
GabrieleDeri 6801ec1034
Added ai stats page, updated breakdown, 3x speedup dist, removed deps on npm (#10236)
* Added ai stats page, updated breakdown style, 3x speedup npm run build, removed deps on npm

* Added ai stats page href

* Fixes ai stats page

* Update dist

* Fixes create_dist
2026-03-31 18:14:06 +02:00

74 lines
No EOL
1.2 KiB
JSON

{
"id": "llm_by_user",
"paging": false,
"display_empty_rows": false,
"enable_search": true,
"columns": [
{
"id": "username",
"title_i18n": "llm.user",
"data_field": "username",
"sortable": true
},
{
"id": "calls",
"title_i18n": "llm.calls",
"data_field": "calls",
"sortable": true,
"class": [
"text-end"
]
},
{
"id": "total_tokens",
"title_i18n": "llm.total_tokens",
"data_field": "total_tokens",
"sortable": true,
"class": [
"text-end"
]
},
{
"id": "prompt_tokens",
"title_i18n": "llm.prompt_tokens",
"data_field": "prompt_tokens",
"sortable": true,
"class": [
"text-end"
]
},
{
"id": "completion_tokens",
"title_i18n": "llm.completion_tokens",
"data_field": "completion_tokens",
"sortable": true,
"class": [
"text-end"
]
},
{
"id": "unique_chats",
"title_i18n": "llm.unique_chats",
"data_field": "unique_chats",
"sortable": true,
"class": [
"text-end"
]
},
{
"id": "avg_ms",
"title_i18n": "llm.avg_ms",
"data_field": "avg_ms",
"sortable": true,
"class": [
"text-end"
]
},
{
"id": "token_share",
"title_i18n": "llm.token_share",
"data_field": "total_tokens",
"sortable": false
}
]
}