{{ 'XP.Copilot.Discovery.Title' | translate }}

{{ 'XP.Copilot.Discovery.Description' | translate }}

@if (loading()) {

{{ 'XP.Copilot.Discovery.Loading' | translate }}

} @else { @for (row of visibleRows(); track row.model) {
{{ row.label }} {{ 'XP.Copilot.Discovery.ModelSource.' + row.source | translate }} {{ 'XP.ModelAccess.ModelTypeValue.' + row.modelType | translate: { Default: row.modelType } }} @if (!row.available) { {{ 'XP.Copilot.Discovery.NotReturnedPreview' | translate }} } @if (!row.configured && row.typeSource === 'unknown') { {{ 'XP.Copilot.Discovery.DefaultType' | translate }} }
@if (row.configuration; as config) {
{{ 'XP.Copilot.Discovery.ContextSize' | translate }}: {{ config.contextSize | number }} {{ 'XP.Copilot.Discovery.MaxConcurrency' | translate }}: {{ config.maxConcurrency | number }} @if (config.modelType === 'llm') { {{ 'XP.Copilot.Discovery.MaxOutputTokens' | translate }}: {{ config.maxOutputTokens | number }} {{ 'XP.Copilot.Discovery.DefaultMaxTokens' | translate }}: {{ config.defaultMaxTokens | number }} } @if (config.modelType === 'text-embedding') { {{ 'XP.Copilot.Discovery.BatchSize' | translate }}: {{ config.batchSize | number }} @if (config.dimensions) { {{ 'XP.Copilot.Discovery.Dimensions' | translate }}: {{ config.dimensions | number }} } }
} @if (row.expanded && !row.configured) {
@for (type of modelTypes; track type) { {{ 'XP.ModelAccess.ModelTypeValue.' + type | translate: { Default: type } }} }
}
} @empty {

{{ 'XP.Copilot.Discovery.Empty' | translate }}

} } @if (error()) { }