- Added a new function `_propagate_section_type_backwards` to ensure that the section_type is correctly assigned to all blocks within a heading section, even if the [!section] callout appears later in the text. - Updated the `parse_blocks` function to call this new method, enhancing the accuracy of section-type assignments. - Modified chunking strategies to reflect the changes in section-type handling, simplifying logic related to section-type transitions. - Expanded unit tests to validate the backward propagation of section_type, ensuring comprehensive coverage of the new functionality. |
||
|---|---|---|
| .. | ||
| core | ||
| frontend | ||
| models | ||
| routers | ||
| services | ||
| __init__.py | ||
| config.py | ||
| embeddings.py | ||
| main.py | ||