Fix update 'Child chunk are used for retrieval' does not take effect (#900) (#17251)

This commit is contained in:
Wang Qi
2026-07-22 19:05:32 +08:00
committed by GitHub
parent db18766027
commit 4d772a9365
2 changed files with 4 additions and 0 deletions

View File

@@ -417,6 +417,8 @@ class ParserConfig(Base):
html4excel: Annotated[bool, Field(default=False)]
layout_recognize: Annotated[str, Field(default="DeepDOC")]
parent_child: Annotated[ParentChildConfig, Field(default_factory=lambda: ParentChildConfig(use_parent_child=False))]
enable_children: Annotated[bool, Field(default=False)]
children_delimiter: Annotated[str, Field(default="", min_length=0)]
raptor: Annotated[RaptorConfig, Field(default_factory=lambda: RaptorConfig(use_raptor=False))]
tag_kb_ids: Annotated[list[str], Field(default_factory=list)]
topn_tags: Annotated[int, Field(default=1, ge=1, le=10)]