@if (usage?.['account']) {
{{ 'account.nuclia-tokens.tokens-consumed' | translate }}
{{ accountTokens | number: '1.0-0' }}
{{ 'metrics.units.tokens' | translate }}
} @else {
{{ 'account.nuclia-tokens.tokens-consumed' | translate }}
}
@if (totalQueries | async; as count) {
{{ 'metrics.period.last-30-days' | translate }}
{{ count.month | number }}
{{ 'metrics.units.queries' | translate }}
{{ 'metrics.period.last-12-months' | translate }}
{{ count.year | number }}
{{ 'metrics.units.queries' | translate }}
{{ 'metrics.period.since-creation' | translate }}
{{ count.sinceCreation | number }}
{{ 'metrics.units.queries' | translate }}
} @else {
@for (i of [1, 2, 3]; track i) {
}
}
1"
[class.has-divider-2]="items.length > 2">
@for (item of items; track item.id) {
-
@if (item.icon) {
}
{{ item.title }}
@if (usage?.[item.id]; as itemUsage) {
@if (tokensCount?.[item.id]; as tokens) {
@if (tokens > 0) {
({{ tokens | number: '1.0-0' }} tokens)
}
}
} @else {
}
}
@for (i of [1, 2, 3]; track i) {
-
}
{{ 'account.knowledgeboxes' | translate }}
@if (kbItems$ | async; as kbItems) {
@if (kbItems.length > 0) {
}
} @else {
}
@if (nuaKeyItems$ | async; as nuaKeyItems) {
@if (nuaKeyItems.length > 0) {
{{ 'account.nuclia-tokens.nua-keys' | translate }}
}
} @else {
{{ 'account.nuclia-tokens.nua-keys' | translate }}
}