@if (usesPlatformSpreadsheetParser()) { @if (section() !== 'images') {
{{ 'XP.Knowledgebase.TransformerSettings' | translate: { Default: 'Transformer Settings' } }}
{{ spreadsheetInterpretation() === 'records' ? ('XP.Knowledgebase.OnlyIndexedFields' | translate : { Default: 'Only indexed fields can be searched; other fields remain available in metadata.' }) : ('XP.Knowledgebase.SpreadsheetFormHint' | translate : { Default: 'Form-document mode preserves worksheet context and cell coordinates. The application that uploads the document should choose this mode explicitly.' }) }}
{{ 'XP.Knowledgebase.SpreadsheetParsing' | translate: { Default: 'Spreadsheet parsing' } }}
{{ 'XP.Knowledgebase.SpreadsheetInterpretation' | translate: { Default: 'Interpretation' } }}
@if (spreadsheetInterpretation() === 'form_document') {
{{ 'XP.Knowledgebase.SpreadsheetContextUnit' | translate: { Default: 'Context unit' } }}
{{ 'XP.Knowledgebase.SpreadsheetOversizePolicy' | translate: { Default: 'Oversize policy' } }}
}
{{ 'XP.Knowledgebase.IncludeHiddenSheets' | translate: { Default: 'Include hidden worksheets' } }} @if (spreadsheetInterpretation() === 'form_document') { {{ 'XP.Knowledgebase.PreserveMergedCells' | translate: { Default: 'Preserve merged-cell ranges' } }} {{ 'XP.Knowledgebase.EmitCellAnchors' | translate: { Default: 'Emit cell coordinates in content' } }} }
} } @else { @if (section() === 'all' || section() === 'parser') {
{{ 'XP.Knowledgebase.TransformerSettings' | translate: { Default: 'Transformer Settings' } }}
@if (transformerStrategy()?.meta.helpUrl; as helpUrl) { {{ 'XP.KEY_WORDS.Help' | translate: { Default: 'Help' } }} }
@if (transformerStrategy()?.meta.icon; as icon) { }
@if (option._icon; as icon) { }
{{ option.label | i18n }}
{{ option.description | i18n }}
@if (transformerStrategy()?.meta.icon; as icon) { } @else { }
@if (transformerStrategy(); as transformerStrategy) {
{{ transformerStrategy.meta.label | i18n }}
{{ transformerStrategy.meta.description | i18n }}
@if (transformerIntegration(); as integration) {
@if (transformerIntegrationId()) {
}
} }
@if (transformerType() && transformerConfigSchema(); as transformerConfigSchema) { }
} @if (section() === 'all' || section() === 'chunks') {
{{ 'XP.Knowledgebase.ChunkSettings' | translate: { Default: 'Chunk Settings' } }}
@if (textSplitterStrategy()?.helpUrl; as helpUrl) { {{ 'XP.KEY_WORDS.Help' | translate: { Default: 'Help' } }} }
@if (textSplitterStrategy()?.icon; as icon) { }
@if (option._icon) { }
{{ option.label | i18n }}
{{ option.description | i18n }}
@if (textSplitterStrategy(); as textSplitterStrategy) {
{{ textSplitterStrategy.label | i18n }}
{{ textSplitterStrategy.description | i18n }}
}
@if (textSplitterType() === 'recursive-character') { }
} @if (section() === 'all' || section() === 'images') {
{{ 'XP.Knowledgebase.ImageUnderstanding' | translate: { Default: 'Image Understanding' } }}
@if (imageUnderstandingStrategy()?.meta.helpUrl; as helpUrl) { {{ 'XP.KEY_WORDS.Help' | translate: { Default: 'Help' } }} }
@if (imageUnderstandingStrategy()?.meta.icon; as icon) { }
@if (option._icon) { }
{{ option.label | i18n }}
{{ option.description | i18n }}
@if (enableImageUnderstanding()) {
@if (imageUnderstandingStrategy()?.meta.icon; as icon) { } @else { }
@if (imageUnderstandingStrategy(); as imageUnderstandingStrategy) {
{{ imageUnderstandingStrategy.meta.label | i18n }}
{{ imageUnderstandingStrategy.meta.description | i18n }}
@if (imageUnderstandingIntegration(); as integration) {
@if (imageUnderstandingIntegrationId()) {
}
} }
@if (requireVisionModel()) {
{{ 'XP.Pipeline.VisionModel' | translate: { Default: 'Vision Model' } }} *
} @if (imageUnderstandingConfigSchema(); as imageUnderstandingConfigSchema) { }
} } @if (section() === 'all' || section() === 'chunks') {
{{ 'XP.Knowledgebase.TextPreprocessingRules' | translate: { Default: 'Text preprocessing rules' } }}
{{ 'XP.Knowledgebase.ReplaceWhiteChar' | translate: { Default: 'Replace consecutive spaces, newlines, and tabs' } }} {{ 'XP.Knowledgebase.RemoveEmailUrls' | translate: { Default: 'Remove all URLs and email addresses' } }}
} }
@if (section() === 'all') {
{{ 'XP.Knowledgebase.Preview' | translate: { Default: 'Preview' } }}
@if (selectedDocument(); as doc) { } @else {
{{ 'XP.Knowledgebase.SelectFilePreview' | translate: { Default: 'Select file to preview' } }}
}
@if (selectedDocument()) { }
}
@for (doc of documents(); track doc; let i = $index) {
@if (doc.metadata?.url) {
{{ doc.metadata.url }}
}
}