mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-07-23 08:56:42 +08:00
This commit is contained in:
@@ -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)]
|
||||
|
||||
@@ -93,6 +93,8 @@ export const extractParserConfigExt = (
|
||||
filename_embd_weight,
|
||||
task_page_size,
|
||||
pages,
|
||||
children_delimiter,
|
||||
enable_children,
|
||||
parent_child: enable_children
|
||||
? {
|
||||
children_delimiter,
|
||||
|
||||
Reference in New Issue
Block a user