Skip to content

Commit

Permalink
Merge pull request #229 from Wind010/main
Browse files Browse the repository at this point in the history
Support markdown files
  • Loading branch information
PromtEngineer committed Jul 17, 2023
2 parents cb06803 + ab54c63 commit 166cde4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
# https://python.langchain.com/en/latest/_modules/langchain/document_loaders/excel.html#UnstructuredExcelLoader
DOCUMENT_MAP = {
".txt": TextLoader,
".md": TextLoader,
".py": TextLoader,
".pdf": PDFMinerLoader,
".csv": CSVLoader,
Expand Down

0 comments on commit 166cde4

Please sign in to comment.