We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f34ac2c commit aa10001Copy full SHA for aa10001
apis/python/src/tiledb/vector_search/object_readers/directory_reader.py
@@ -355,6 +355,7 @@ def __init__(
355
handlers={
356
"application/pdf": PyMuPDFParser(),
357
"text/plain": TextParser(),
358
+ "text/markdown": TextParser(),
359
"text/html": BS4HTMLParser(),
360
"application/msword": MsWordParser(),
361
"application/vnd.openxmlformats-officedocument.wordprocessingml.document": (
@@ -385,7 +386,7 @@ def lazy_load(
385
386
mime_type = mimetypes.guess_type(self.uri)[0]
387
f = vfs.open(self.uri)
388
- if mime_type is None:
389
+ if mime_type is None or mime_type.startswith("text"):
390
mime_type = "text/plain"
391
392
if mime_type.startswith("image/"):
0 commit comments