fix(api): default delimiter must be a real newline, not the r"\n" escape (#17591)

This commit is contained in:
deadtrickster
2026-08-04 10:16:34 +02:00
committed by GitHub
parent 404b47c79e
commit 8c8c1e7df7
3 changed files with 53 additions and 3 deletions

View File

@@ -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},