anything-llm/collector/scripts/watch/filetypes.py

12 lines
285 B
Python
Raw Normal View History

2023-06-04 04:28:07 +02:00
from .convert.as_text import as_text
from .convert.as_markdown import as_markdown
from .convert.as_pdf import as_pdf
from .convert.as_docx import as_docx, as_odt
FILETYPES = {
'.txt': as_text,
'.md': as_markdown,
'.pdf': as_pdf,
'.docx': as_docx,
'.odt': as_odt,
}