mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-08-05 23:24:05 +08:00
fix(api): default delimiter must be a real newline, not the r"\n" escape (#17591)
This commit is contained in:
@@ -390,7 +390,7 @@ def get_parser_config(chunk_method, parser_config):
|
||||
"one": None,
|
||||
"knowledge_graph": {
|
||||
"chunk_token_num": 8192,
|
||||
"delimiter": r"\n",
|
||||
"delimiter": "\n",
|
||||
"entity_types": ["organization", "person", "location", "event", "time"],
|
||||
"raptor": {"use_raptor": False},
|
||||
"graphrag": {"use_graphrag": False},
|
||||
|
||||
Reference in New Issue
Block a user