@if (currentKb | async; as kb) { @if (kbUrl | async; as kbUrl) { @if (isKbAdmin | async) { }
{{ 'dashboard-home.kb-details.title' | translate: { name: kb.title } }}
@if (isKbAdmin | async) { {{ 'dashboard-home.go-to.kb-settings' | translate }} }
{{ 'home.developer-integrate.title' | translate }} @if (developerExpanded) {
{{ 'dashboard-home.kb-details.endpoint' | translate }}
@if (clipboardSupported) { {{ 'generic.copy' | translate }} }
{{ endpoint | async }}
{{ 'dashboard-home.kb-details.mcp-server' | translate }}
@if (clipboardSupported) { {{ 'generic.copy' | translate }} }
{{ mcp | async }}
{{ 'dashboard-home.kb-details.uid' | translate }}
@if (clipboardSupported) { {{ 'generic.copy' | translate }} }
{{ uid | async }}
} @if (configuration | async; as config) {
{{ 'dashboard-home.kb-details.region' | translate }}
{{ zone | async }}
{{ 'dashboard-home.kb-details.status' | translate }}
{{ (stateLabel | async) || '' | translate }}
@if (config['generative_model']; as model) {
{{ 'dashboard-home.kb-details.generative-model' | translate }}
{{ model | generativeModel }}
} @if (config['default_semantic_model']; as semanticModel) {
{{ 'kb.ai-models.semantic-model.label' | translate }}
{{ semanticModel }}
}
} @if (isKbAdmin | async) {
{{ 'dashboard-home.kb-details.test-page' | translate }}
}
@if (!(counters | async)?.resources) {
{{ 'dashboard-home.resources.title' | translate }}
} @else { @if ((counters | async)?.resources) { {{ 'home.info.resources' | translate }} } }
@if (isAccountManager | async) { @if ((uploadBlocked | async) || (generativeBlocked | async)) {
{{ 'dashboard-home.blocked.title' | translate }}
@if (uploadBlocked | async) {
{{ 'dashboard-home.blocked.upload' | translate }}
} @if (generativeBlocked | async) {
{{ 'dashboard-home.blocked.generative' | translate }}
}
} } @if (showAccountStatus | async) { } @if (counters | async; as storage) {
{{ 'dashboard-home.kb-storage.title' | translate }}
@if (storage.resources > 0) {
{{ 'home.info.storage' | translate }}
}
@if (storage.resources === 0) { } @else {
{{ 'dashboard-home.kb-storage.total.index-size' | translate }}
{{ storage.index_size | size }}
@if (locale | async; as locale) {
{{ 'dashboard-home.kb-storage.total.resources' | translate }}
{{ storage.resources | number: '1.0-0' : locale }}
{{ 'dashboard-home.kb-storage.total.text-blocks' | translate }}
{{ storage.paragraphs | number: '1.0-0' : locale }}
@if (kb.external_index_provider) {
{{ 'dashboard-home.kb-storage.external-db.title' | translate }}
{{ 'dashboard-home.kb-storage.external-db.' + kb.external_index_provider | translate }}
}
{{ 'dashboard-home.kb-storage.total.fields' | translate }}
{{ storage.fields | number: '1.0-0' : locale }}
{{ 'dashboard-home.kb-storage.total.vectors' | translate }}
{{ storage.sentences | number: '1.0-0' : locale }}
} }
} @if (isAccountManager | async) {
{{ 'dashboard-home.usage.title' | translate }}
@if (searchQueriesCounts | async; as usageCounts) { @if (usageCounts.month.search > 0 || usageCounts.month.chat > 0) {
{{ 'dashboard-home.usage.fullscreen' | translate }} {{ 'home.info.usage' | translate }}
} }
@if (searchQueriesCounts | async; as usageCounts) { @if (usageCounts.month.search === 0 && usageCounts.month.chat === 0) { } @else { {{ 'metrics.period.last-30-days' | translate }} {{ 'metrics.period.last-12-months' | translate }} @if (searchQueriesCounts | async; as queriesCount) { {{ 'metrics.search.title' | translate }} @if (locale | async; as locale) { {{ queriesCount.month.search | number: '1.0-0' : locale }} {{ queriesCount.year.search | number: '1.0-0' : locale }} } } @if (searchQueriesCounts | async; as queriesCount) { {{ 'metrics.ask.title' | translate }} @if (locale | async; as locale) { {{ queriesCount.month.chat | number: '1.0-0' : locale }} {{ queriesCount.year.chat | number: '1.0-0' : locale }} } } @if (nucliaTokensCounts | async; as tokenCount) { {{ 'metrics.nuclia-tokens.title' | translate }} @if (locale | async; as locale) { {{ tokenCount.month | number: '1.0-0' : locale }} {{ tokenCount.year | number: '1.0-0' : locale }} } }
{{ currentChart.label | translate }} @for (option of chartDropdownOptions; track option.id) { {{ option.label | translate }} }
@if (currentPeriod | async; as currentPeriod) { @if (isSubscribed | async) { {{ currentPeriod.start | date: 'MMM d' : 'UTC' }} - {{ currentPeriod.end | date: 'MMM d' : 'UTC' }} } @else { {{ currentPeriod.start | date: 'MMMM y' : 'UTC' }} } } @for (period of chartPeriods | async; track period.start) { @if (isSubscribed | async) { {{ period.start | date: 'MMM d' : 'UTC' }} - {{ period.end | date: 'MMM d' : 'UTC' }} } @else { {{ period.start | date: 'MMMM y' : 'UTC' }} } }
} }
} @if (isKbContrib | async) { @if (isRemiMetricsEnabled | async) { @let healthData = (healthCheckData | async) ?? [];
{{ 'dashboard-home.health-status.title' | translate }} ({{ 'kb.metrics.period.last-7d' | translate }})
@if (healthData.length > 0) {
{{ 'dashboard-home.health-status.more-metrics' | translate }} {{ 'home.info.health-status' | translate }}
}
@if (healthData.length > 0) { } @else { }
} }
} }