Repository navigation
fix(ingestion): align laws DSL with Python — heading fallback, colon-title, short-line filter, remove_toc, and image extension mapping - #17200
Conversation
📝 WalkthroughWalkthroughThe PR updates hierarchy heading detection, extractor model resolution, DOCX section parsing, image file classification, parser configuration, HTTP/LLM timeouts, and ingestion template defaults with corresponding tests. ChangesChunker heading resolution
Extractor target resolution
DOCX section parsing
Ingestion configuration updates
Visual file classification
Estimated code review effort: 4 (Complex) | ~60 minutes Sequence Diagram(s)sequenceDiagram
participant ExtractorComponent
participant resolveExtractorChatTarget
participant resolveExtractorChatConfig
participant ChatInvoker
ExtractorComponent->>resolveExtractorChatTarget: resolve llm_id
resolveExtractorChatTarget->>resolveExtractorChatConfig: resolve tenant model configuration
resolveExtractorChatConfig-->>resolveExtractorChatTarget: driver, model, credentials or error
resolveExtractorChatTarget-->>ExtractorComponent: chat target or error
ExtractorComponent->>ChatInvoker: generate extraction request
ChatInvoker-->>ExtractorComponent: response or invocation error
Possibly related PRs
Suggested reviewers: Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
@yuzhichang Let's discuss |
There was a problem hiding this comment.
Actionable comments posted: 2
🧹 Nitpick comments (2)
internal/utility/file.go (1)
117-122: 📐 Maintainability & Code Quality | 🔵 Trivial | 💤 Low valueConsolidate cases for
FileTypeVISUAL.Multiple
casestatements return the exact sameFileTypeVISUAL. To improve readability and consistency with existing cases (like the ones returningFileTypeTXT), you can combine these into a singlecase.💡 Proposed refactor
- case "png", "jpg", "jpeg", "gif", "bmp": - return FileTypeVISUAL - case "tiff", "tif", "webp", "svg", "ico": - return FileTypeVISUAL - case "avif", "heic", "apng": + case "png", "jpg", "jpeg", "gif", "bmp", + "tiff", "tif", "webp", "svg", "ico", + "avif", "heic", "apng": return FileTypeVISUAL🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@internal/utility/file.go` around lines 117 - 122, Consolidate the three visual-extension branches in the file-type switch into one case listing all extensions that return FileTypeVISUAL, preserving the existing mappings and behavior.internal/ingestion/component/chunker/hierarchy_test.go (1)
230-377: 📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick winTests pass but don't exercise CJK punctuation paths.
All new cases use ASCII text/digits, so they won't catch the byte-vs-rune bugs flagged in
title.go'sisColonTitle(Lines 275-296) and short-line filter (Lines 311-317), even though the punctuation set explicitly includes CJK marks (。?!;). Consider adding a colon-title case using CJK sentence punctuation to pin the correct behavior once those are fixed.🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@internal/ingestion/component/chunker/hierarchy_test.go` around lines 230 - 377, The tests only cover ASCII punctuation and digits, leaving CJK rune handling in isColonTitle and the short-line filter untested. Extend the relevant hierarchy title chunker tests with CJK text, including a colon-title line containing 。、?! or ; before the colon, and verify it is promoted while preserving the existing short-line behavior.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@internal/ingestion/component/chunker/title.go`:
- Around line 275-296: Fix isColonTitle so the substring after lastPunct starts
after the full punctuation rune rather than advancing by one byte. Use
rune-aware indexing or the matched punctuation’s UTF-8 width when deriving
between, preserving the existing whitespace trimming and 32-rune threshold
behavior.
- Around line 311-317: Update the short-line condition in the record-processing
logic around beforeAt to compare Unicode character count rather than UTF-8 byte
length, matching Python’s len behavior. Preserve the numericOnly check and
existing bodyLevel assignment flow.
---
Nitpick comments:
In `@internal/ingestion/component/chunker/hierarchy_test.go`:
- Around line 230-377: The tests only cover ASCII punctuation and digits,
leaving CJK rune handling in isColonTitle and the short-line filter untested.
Extend the relevant hierarchy title chunker tests with CJK text, including a
colon-title line containing 。、?! or ; before the colon, and verify it is
promoted while preserving the existing short-line behavior.
In `@internal/utility/file.go`:
- Around line 117-122: Consolidate the three visual-extension branches in the
file-type switch into one case listing all extensions that return
FileTypeVISUAL, preserving the existing mappings and behavior.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: 69c2c75c-4046-40ff-ba82-c889ee86f261
📒 Files selected for processing (7)
internal/ingestion/component/chunker/group.gointernal/ingestion/component/chunker/hierarchy_test.gointernal/ingestion/component/chunker/title.gointernal/ingestion/pipeline/template/ingestion_pipeline_laws.jsoninternal/ingestion/task/pipeline_executor_defaults_test.gointernal/utility/file.gointernal/utility/file_test.go
There was a problem hiding this comment.
Actionable comments posted: 4
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@internal/common/parser_config_test.go`:
- Around line 45-51: Update TestInjectExtractorLLMID_NoExtractor to inspect the
nested Parser:X configuration after calling InjectExtractorLLMID, asserting that
llm_id remains an empty string and the function returns false. Keep the existing
assertion that Parser:X remains present.
In `@internal/ingestion/component/extractor_tag.go`:
- Around line 174-178: Update the resolveExtractorChatTarget error branch in
runAutoTags to return in.chunks instead of an empty slice, while preserving the
existing nil error and warning log so failed target resolution skips tagging
without discarding content.
In `@internal/ingestion/component/extractor.go`:
- Around line 351-357: Update the chat logging around wrapper.Generate to stop
including req.Messages content at Info or Error level. Log only safe metadata
such as message count and total content size, while preserving the existing
error context and generation behavior.
In `@internal/parser/parser/docx_parser.go`:
- Around line 368-379: Update the list handling around extractTextFromListItem
and docxIRListItem.Nested so nested list items are recursively decoded and
emitted as sections, preserving their order and text instead of processing only
direct el.Items. Collapse any transitional “move later” path while implementing
the recursive traversal, and add a regression fixture covering nested DOCX
bullets.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: dc466f84-b850-4c9e-b6dd-8df68f4eb3d2
📒 Files selected for processing (10)
internal/common/parser_config.gointernal/common/parser_config_test.gointernal/entity/models/base_model.gointernal/ingestion/component/extractor.gointernal/ingestion/component/extractor_tag.gointernal/ingestion/component/extractor_test.gointernal/ingestion/pipeline/template/ingestion_pipeline_resume.jsoninternal/ingestion/task/pipeline_executor_defaults_test.gointernal/parser/parser/docx_parser.gointernal/parser/parser/docx_parser_test.go
| func TestInjectExtractorLLMID_NoExtractor(t *testing.T) { | ||
| pc := map[string]interface{}{ | ||
| "Parser:X": map[string]interface{}{"llm_id": ""}, | ||
| } | ||
| result := ExtractPipelineDefaults(dsl) | ||
| raw := result["TokenChunker:abc"].(map[string]interface{}) | ||
| delims, _ := raw["delimiters"].([]interface{}) | ||
| if len(delims) != 3 { | ||
| t.Fatalf("expected 3 delimiters, got %v", delims) | ||
| InjectExtractorLLMID(pc, "default@provider") | ||
| if _, ok := pc["Parser:X"]; !ok { | ||
| t.Fatal("expected Parser:X still present") |
There was a problem hiding this comment.
📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win
Assert that the parser model ID is unchanged.
The current assertion passes even if Parser:X.llm_id is overwritten. Verify it remains "" and that the function returns false.
Proposed test fix
- InjectExtractorLLMID(pc, "default@provider")
- if _, ok := pc["Parser:X"]; !ok {
- t.Fatal("expected Parser:X still present")
+ if InjectExtractorLLMID(pc, "default@provider") {
+ t.Fatal("expected no update without an Extractor component")
+ }
+ id := pc["Parser:X"].(map[string]interface{})["llm_id"].(string)
+ if id != "" {
+ t.Fatalf("expected Parser:X llm_id unchanged, got %q", id)
}📝 Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.
| func TestInjectExtractorLLMID_NoExtractor(t *testing.T) { | |
| pc := map[string]interface{}{ | |
| "Parser:X": map[string]interface{}{"llm_id": ""}, | |
| } | |
| result := ExtractPipelineDefaults(dsl) | |
| raw := result["TokenChunker:abc"].(map[string]interface{}) | |
| delims, _ := raw["delimiters"].([]interface{}) | |
| if len(delims) != 3 { | |
| t.Fatalf("expected 3 delimiters, got %v", delims) | |
| InjectExtractorLLMID(pc, "default@provider") | |
| if _, ok := pc["Parser:X"]; !ok { | |
| t.Fatal("expected Parser:X still present") | |
| func TestInjectExtractorLLMID_NoExtractor(t *testing.T) { | |
| pc := map[string]interface{}{ | |
| "Parser:X": map[string]interface{}{"llm_id": ""}, | |
| } | |
| if InjectExtractorLLMID(pc, "default@provider") { | |
| t.Fatal("expected no update without an Extractor component") | |
| } | |
| id := pc["Parser:X"].(map[string]interface{})["llm_id"].(string) | |
| if id != "" { | |
| t.Fatalf("expected Parser:X llm_id unchanged, got %q", id) | |
| } | |
| } |
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@internal/common/parser_config_test.go` around lines 45 - 51, Update
TestInjectExtractorLLMID_NoExtractor to inspect the nested Parser:X
configuration after calling InjectExtractorLLMID, asserting that llm_id remains
an empty string and the function returns false. Keep the existing assertion that
Parser:X remains present.
| driver, model, apiKey, baseURL, err := resolveExtractorChatTarget(ctx, in.llmID) | ||
| if err != nil { | ||
| common.Warn("extractor tag: resolve model failed", zap.Error(err)) | ||
| return []map[string]any{}, nil | ||
| } |
There was a problem hiding this comment.
🗄️ Data Integrity & Integration | 🔴 Critical | ⚡ Quick win
Returning an empty slice on resolve failure drops all chunks.
Every other exit path in runAutoTags returns in.chunks (Lines 145, 154, 217), but the error branch returns []map[string]any{}, nil. When target resolution fails, LLM tagging should simply be skipped — instead this discards every chunk and the pipeline proceeds with zero data. Return the original chunks so untagged content is preserved.
🐛 Suggested fix
driver, model, apiKey, baseURL, err := resolveExtractorChatTarget(ctx, in.llmID)
if err != nil {
common.Warn("extractor tag: resolve model failed", zap.Error(err))
- return []map[string]any{}, nil
+ return in.chunks, nil
}📝 Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.
| driver, model, apiKey, baseURL, err := resolveExtractorChatTarget(ctx, in.llmID) | |
| if err != nil { | |
| common.Warn("extractor tag: resolve model failed", zap.Error(err)) | |
| return []map[string]any{}, nil | |
| } | |
| driver, model, apiKey, baseURL, err := resolveExtractorChatTarget(ctx, in.llmID) | |
| if err != nil { | |
| common.Warn("extractor tag: resolve model failed", zap.Error(err)) | |
| return in.chunks, nil | |
| } |
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@internal/ingestion/component/extractor_tag.go` around lines 174 - 178, Update
the resolveExtractorChatTarget error branch in runAutoTags to return in.chunks
instead of an empty slice, while preserving the existing nil error and warning
log so failed target resolution skips tagging without discarding content.
| common.Info(fmt.Sprintf("try to chat with message: %v", req.Messages)) | ||
| if err := ctx.Err(); err != nil { | ||
| return nil, err | ||
| } | ||
| out, err := wrapper.Generate(ctx, toExtractorEinoMessages(req.Messages)) | ||
| if err != nil { | ||
| common.Error(fmt.Sprintf("error when chat with message: %v", req.Messages), err) |
There was a problem hiding this comment.
🔒 Security & Privacy | 🟠 Major | ⚡ Quick win
Avoid logging full request messages on every chat call.
Lines 351 and 357 log req.Messages verbatim at Info/Error level. These messages carry the system prompt plus chunk/document text sent to the LLM, so this can leak user content into logs and produce very large log lines on every invocation. Consider logging only counts/sizes (e.g. number of messages, total length) or gating full content behind a debug flag.
🔒 Suggested change
- common.Info(fmt.Sprintf("try to chat with message: %v", req.Messages))
+ common.Info(fmt.Sprintf("extractor: chat: sending %d messages", len(req.Messages)))
if err := ctx.Err(); err != nil {
return nil, err
}
out, err := wrapper.Generate(ctx, toExtractorEinoMessages(req.Messages))
if err != nil {
- common.Error(fmt.Sprintf("error when chat with message: %v", req.Messages), err)
+ common.Error(fmt.Sprintf("extractor: chat: generate failed (%d messages)", len(req.Messages)), err)
return nil, err
}📝 Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.
| common.Info(fmt.Sprintf("try to chat with message: %v", req.Messages)) | |
| if err := ctx.Err(); err != nil { | |
| return nil, err | |
| } | |
| out, err := wrapper.Generate(ctx, toExtractorEinoMessages(req.Messages)) | |
| if err != nil { | |
| common.Error(fmt.Sprintf("error when chat with message: %v", req.Messages), err) | |
| common.Info(fmt.Sprintf("extractor: chat: sending %d messages", len(req.Messages))) | |
| if err := ctx.Err(); err != nil { | |
| return nil, err | |
| } | |
| out, err := wrapper.Generate(ctx, toExtractorEinoMessages(req.Messages)) | |
| if err != nil { | |
| common.Error(fmt.Sprintf("extractor: chat: generate failed (%d messages)", len(req.Messages)), err) |
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@internal/ingestion/component/extractor.go` around lines 351 - 357, Update the
chat logging around wrapper.Generate to stop including req.Messages content at
Info or Error level. Log only safe metadata such as message count and total
content size, while preserving the existing error context and generation
behavior.
| case "list": | ||
| for _, item := range el.Items { | ||
| text := extractTextFromListItem(item) | ||
| if text == "" { | ||
| continue | ||
| } | ||
| sections = append(sections, map[string]any{ | ||
| "text": text, | ||
| "image": nil, | ||
| "doc_type_kwd": "text", | ||
| }) | ||
| } |
There was a problem hiding this comment.
🎯 Functional Correctness | 🟠 Major | ⚡ Quick win
Preserve nested list content.
Only direct el.Items are emitted; docxIRListItem.Nested at Line 440 is never decoded, so nested DOCX bullets are silently dropped. Recursively emit nested lists and add a nested-list regression fixture.
As per coding guidelines, remove “move later” paths and collapse transitional implementations.
Also applies to: 437-440
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@internal/parser/parser/docx_parser.go` around lines 368 - 379, Update the
list handling around extractTextFromListItem and docxIRListItem.Nested so nested
list items are recursively decoded and emitted as sections, preserving their
order and text instead of processing only direct el.Items. Collapse any
transitional “move later” path while implementing the recursive traversal, and
add a regression fixture covering nested DOCX bullets.
Source: Coding guidelines
There was a problem hiding this comment.
🧹 Nitpick comments (1)
internal/ingestion/component/chunker/hierarchy_test.go (1)
334-339: 📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick winRemove migration-history prose from test comments.
Describe the required rune-aware behavior only; references to the previous byte-offset bug and “with/without fix” paths will become stale.
As per coding guidelines, keep package and documentation comments aligned with the current runtime path rather than migration history.
Also applies to: 373-377, 403-404, 410-415, 441-442
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@internal/ingestion/component/chunker/hierarchy_test.go` around lines 334 - 339, Update the comments in the affected hierarchy tests, including TestIsColonTitle_CJKEdgeCase, to describe only the required rune-aware behavior and expected outcomes. Remove references to prior byte-offset bugs, fixes, migration history, or alternative execution paths while preserving the test intent and threshold details.Source: Coding guidelines
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Nitpick comments:
In `@internal/ingestion/component/chunker/hierarchy_test.go`:
- Around line 334-339: Update the comments in the affected hierarchy tests,
including TestIsColonTitle_CJKEdgeCase, to describe only the required rune-aware
behavior and expected outcomes. Remove references to prior byte-offset bugs,
fixes, migration history, or alternative execution paths while preserving the
test intent and threshold details.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: 0db99ff7-0269-4d1a-8578-bfe415942bc4
📒 Files selected for processing (5)
internal/ingestion/component/chunker/hierarchy_test.gointernal/ingestion/component/chunker/title.gointernal/ingestion/component/extractor.gointernal/ingestion/component/extractor_tag.gointernal/ingestion/component/extractor_test.go
🚧 Files skipped from review as they are similar to previous changes (2)
- internal/ingestion/component/chunker/title.go
- internal/ingestion/component/extractor.go
|
LGTM |
Summary
This PR aligns the Go ingestion pipeline's Laws DSL template with the Python implementation by fixing heading-detection gaps, adds image-extension support, refactors the Extractor component's LLM resolution, hardens heading detection for CJK text, and makes the Extractor accept the Python DSL prompt key names (
sys_prompt/prompts) alongside the Go names.Changes
1. Picture file-type detection (
internal/utility/file.go)Adds explicit mapping for common image extensions (png, jpg, jpeg, gif, bmp, tiff, tif, webp, svg, ico, avif, heic, apng) →
FileTypeVISUAL, with regression tests.2. Laws DSL heading-detection alignment (
internal/ingestion/component/chunker/)Four fixes to
resolveTitleLevels:ck_typefallbackckTypefield onlineRecord, propagated fromChunkDoc.CKTypeinrecordsFromStructured. Whenck_type=="heading", assignfallbackLevel.make_colon_as_titlepromotionisColonTitle(): promotes lines ending with:/:that have sentence-ending punctuation before the colon and ≥32 runes between them.make_colon_as_titleinrag/nlp/__init__.py. Triple guard prevents false positives.tree_merge's filter ofsectionswherelen(...) <= 1orre.match(r"[0-9]+$", ...).remove_toc"remove_toc": trueadded to the PDF parser setup iningestion_pipeline_laws.json.3. Extractor llm_id resolution (
internal/ingestion/component/extractor.go)Refactored to handle both bare tenant_model UUIDs and composite model@provider strings via the shared
resolveModelConfig(dispatch_model.go):resolveExtractorChatConfig— UUID path callsresolveModelConfigByIDdirectly (one DB hit); composite path goes throughresolveModelConfig. AddedisBareTenantModelIDpre-check for clear errors when a UUID doesn't exist.resolveExtractorChatTarget— propagates resolution errors instead of silently returning empty driver.Chat()— removeddriver = "dummy"fallback. Missing driver is now an explicit error.splitExtractorLLID,findExtractorSoleActiveInstance.4.
InjectExtractorLLMID— fallback when no user config (internal/common/parser_config.go)Injects the tenant's global default LLM into extractor components only when their
llm_idis empty. Preserves user-selected UUID or model@provider values.Priority: user-configured llm_id > tenant global default > error (no silent dummy fallback).
5.
ResponseHeaderTimeoutincrease (internal/entity/models/base_model.go)ResponseHeaderTimeout60s → 120s inNewDriverHTTPClient. Reasoning models with large extraction prompts can take longer than 60s to produce the first response token.6. CJK rune-aware heading detection (
internal/ingestion/component/chunker/title.go)Two byte-vs-rune bugs that only manifest on CJK text:
isColonTitlebyte offsetbody[lastPunct+1:]→body[lastPunct+runeLen:]viautf8.DecodeRuneInStringstrings.LastIndexAnyreturns a byte index;+1skips only 1 byte, corrupting multi-byte CJK punctuation (e.g.。= 3 bytes) and inflating the rune count past the 32-rune threshold → false-positive heading promotion.len(text) <= 1→utf8.RuneCountInString(text) <= 1lenis UTF-8 bytes; a single CJK char (3 bytes) passed the filter, but Python'slenreturns 1 → mismatch.7.
extractor_tag.go— log error when llm failsWhen
resolveExtractorChatTargetreturned an error,runAutoTagswill log error.8. Python DSL prompt-key compatibility (
internal/ingestion/component/extractor.go)The Resume DSL template uses Python-side key names (
sys_prompt,prompts).NewExtractorComponentnow accepts them as fallbacks alongside the Go names:system_prompt(Go) ←sys_prompt(Python) as fallbackprompt(Go string) ←prompts(Python array[{"role","content"}], takes[0].content) as fallbackMirrors the alias pattern already in
internal/agent/component/llm.go.resolveInputsaccepts per-callsys_promptoverride too.Remaining gaps vs Python
remove_contents_tableworks on all text formats; Go'sremove_tocis PDF-only.ck_typefallback.Testing
TestHierarchyTitleChunker_CKTypeHeadingFallback— DOCXck_typeheading promotionTestHierarchyTitleChunker_ColonTitlePromotion/_ColonTitleShortLine_Negative— colon-title promotion + guardTestIsColonTitle_CJKEdgeCase/TestIsColonTitle_ASCII_NoRegression— CJK byte-offset fix + ASCII regressionTestHierarchyTitleChunker_ColonTitlePromotion_CJK_EdgeCase— CJK colon edge case through full pipelineTestHierarchyTitleChunker_ShortSingleCJKLineFilter— single CJK char filtered to bodyTestHierarchyTitleChunker_ShortNumericLineFilter— purely numeric lines filteredTestGetFileType_ImageExtensions/_ExistingFormats_NoRegression— image extension mappingTestInjectExtractorLLMID_SkipWhenUUID/_SkipWhenComposite/_InjectWhenEmpty— llm_id injection guardTestIsBareTenantModelID— UUID detectionTestResolveExtractorChatTarget_AtSplitFallback/_NoDriver— @ split fallback without DBTestNewExtractorComponent_SysPromptAlias/_PromptsArray/_PromptsArray_PromptWins/_SystemPromptWinsOverSysPrompt— Python key compatibilityTestBuildDOCXJSONSections_List/_TextBox/_MixedWithList— DOCX list/text_box parsing