@customize-agent/knowledge 4.0.11 → 4.0.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -680,7 +680,7 @@ export class ContentExtractor {
|
|
|
680
680
|
return `R${rowIndex + 2}C${colIndex + 1} ${column}: ${value}`;
|
|
681
681
|
}));
|
|
682
682
|
return {
|
|
683
|
-
text: [this.metadataOnlyText(file), '
|
|
683
|
+
text: [this.metadataOnlyText(file), '工作表:默认', markdown, '表格路径声明', ...legacyKv].join('\n\n'),
|
|
684
684
|
metadata: {
|
|
685
685
|
extractionMode: 'delimited_text_structured',
|
|
686
686
|
semanticExtractionMode: 'delimited_markdown_table',
|
|
@@ -821,7 +821,7 @@ export class ContentExtractor {
|
|
|
821
821
|
if (matrix.length > 0) {
|
|
822
822
|
const header = matrix[0] ?? [];
|
|
823
823
|
const rows = matrix.slice(1);
|
|
824
|
-
sheetTexts.push([
|
|
824
|
+
sheetTexts.push([`工作表:${name}`, this.toMarkdownTable(header, rows)].join('\n\n'));
|
|
825
825
|
}
|
|
826
826
|
}
|
|
827
827
|
if (sheetTexts.length > 0) {
|