Feat: metadata settings in KB. (#12662)

### What problem does this PR solve?

#11910

### Type of change

- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
Kevin Hu
2026-01-16 20:14:02 +08:00
committed by GitHub
parent 4f036a881d
commit b6d7733058
9 changed files with 568 additions and 130 deletions

View File

@ -68,6 +68,8 @@ export interface ParserConfig {
topn_tags?: number;
graphrag?: { use_graphrag?: boolean };
enable_metadata?: boolean;
metadata?: any;
built_in_metadata?: Array<{ key: string; type: string }>;
}
export interface IKnowledgeFileParserConfig {