We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 99caf19 commit 954ab3bCopy full SHA for 954ab3b
apis/python/src/tiledb/vector_search/object_readers/directory_reader.py
@@ -367,6 +367,7 @@ def __init__(
367
handlers={
368
"application/pdf": PyMuPDFParser(),
369
"text/plain": TextParser(),
370
+ "text/markdown": TextParser(),
371
"text/html": BS4HTMLParser(),
372
"application/msword": MsWordParser(),
373
"application/vnd.openxmlformats-officedocument.wordprocessingml.document": (
@@ -397,7 +398,7 @@ def lazy_load(
397
398
mime_type = mimetypes.guess_type(self.uri)[0]
399
f = vfs.open(self.uri)
400
- if mime_type is None:
401
+ if mime_type is None or mime_type.startswith("text"):
402
mime_type = "text/plain"
403
404
if mime_type.startswith("image/"):
0 commit comments