Fix: change create dataset htto api delimiter default value to r'\n' (#7434)

### What problem does this PR solve?

change create dataset delimiter default value to r'\n'

### Type of change

- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
liu an
2025-04-30 17:43:42 +08:00
committed by GitHub
parent fea9d970ec
commit fc379e90d1
4 changed files with 7 additions and 7 deletions

View File

@ -96,7 +96,7 @@ class ParserConfig(Base):
auto_keywords: int = Field(default=0, ge=0, le=32)
auto_questions: int = Field(default=0, ge=0, le=10)
chunk_token_num: int = Field(default=128, ge=1, le=2048)
delimiter: str = Field(default=r"\n!?;。;!?", min_length=1)
delimiter: str = Field(default=r"\n", min_length=1)
graphrag: Optional[GraphragConfig] = None
html4excel: bool = False
layout_recognize: str = "DeepDOC"