anything-llm/collector/scripts/watch/filetypes.py
timothycarambat 27c58541bd inital commit
2023-06-03 19:28:07 -07:00

12 lines
285 B
Python

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,
}