Skip to content

SimpleFileNodeParser doesn't apply MarkdownNodeParser #20217

@zmrocze

Description

@zmrocze

As in the title. The fallback parsing to a single node with full file content gets applied.

Looks like this line of simple_file.py:

            ext = document.metadata.get("extension", "None")

should maybe look for file_type key instead (and matching against "text/markdown")?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions