Skip to content
This repository has been archived by the owner on Sep 12, 2024. It is now read-only.

How to load PDF and other Docs #93

Discussion options

You must be logged in to vote

Hey @abrahimzaman360,

Thanks for bringing this up! I understand that our documentation primarily mentions .md files, which might lead to some confusion.

The read_files_as_documents and read_github_repo_as_documents functions were designed to be versatile. By default, they support various file types, not just .md. The required_exts parameter lets users filter the types of files they want to read, but it's entirely optional.

Here's how you can use it:

  1. If you want to read all supported file types, simply omit the required_exts parameter.
  2. If you want to specify file types, include them in the required_exts parameter.

For example:

read_files_as_documents(input_dir="your/path/to/documents", r…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by fcakyon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #60 on November 03, 2023 12:41.