Replies: 1 comment
-
To disable from llama_index.legacy.readers.file.base import SimpleDirectoryReader
# Create a SimpleDirectoryReader instance without MarkdownReader
reader = SimpleDirectoryReader(
input_dir="path/to/your/directory",
file_extractor={'.md': None} # This disables the MarkdownReader for .md files
)
# Load data
documents = reader.load_data() By setting the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I hope it can split the markdown file like a txt file, instead of spliting it into nodes based on markdown headers.
Beta Was this translation helpful? Give feedback.
All reactions