langchain/langchain
Eugene Yurtsev c06a47a691
Load specific file types from Google Drive (issue #4878) (#4926)
# Load specific file types from Google Drive (issue #4878)
Add the possibility to define what file types you want to load from
Google Drive.
 
```
 loader = GoogleDriveLoader(
    folder_id="1yucgL9WGgWZdM1TOuKkeghlPizuzMYb5",
    file_types=["document", "pdf"]
    recursive=False
)
```

Fixes ##4878

## Who can review?
Community members can review the PR once tests pass. Tag
maintainers/contributors who might be interested:
DataLoaders
- @eyurtsev

Twitter: [@UmerHAdil](https://twitter.com/@UmerHAdil) | Discord:
RicChilligerDude#7589

---------

Co-authored-by: UmerHA <40663591+UmerHA@users.noreply.github.com>
2023-05-18 09:27:53 -04:00
..
agents Harrison/improved retry tool (#4842) 2023-05-17 21:41:01 -07:00
callbacks Bold Crumbs (#4876) 2023-05-17 22:50:35 +00:00
chains Harrison/unified objectives (#4905) 2023-05-17 23:03:57 -07:00
chat_models Exponential back-off support for Google PaLM api (#4001) 2023-05-15 17:21:11 -07:00
cli Add dev option (#4828) 2023-05-17 14:09:25 +00:00
client Add Support for Flexible Input Format for LLM and Chat Model Runs (#4805) 2023-05-17 14:24:17 +00:00
docstore Add DocstoreFn - lookup doc via arbitrary function (#3760) 2023-04-28 19:50:32 -07:00
document_loaders Load specific file types from Google Drive (issue #4878) (#4926) 2023-05-18 09:27:53 -04:00
embeddings Fix subclassing OpenAIEmbeddings (#4500) 2023-05-16 18:35:19 -07:00
evaluation Replace remaining usage of basellm with baselangmodel (#3981) 2023-05-02 21:52:29 -07:00
experimental Some notebook and client fixes (add retries, clean up docs, etc) (#4820) 2023-05-16 20:23:00 -07:00
graphs Minor: Remove duplicated word in error message (#2706) 2023-04-11 13:10:33 -07:00
indexes Replace remaining usage of basellm with baselangmodel (#3981) 2023-05-02 21:52:29 -07:00
llms Exponential back-off support for Google PaLM api (#4001) 2023-05-15 17:21:11 -07:00
memory Zep memory (#4898) 2023-05-17 20:01:01 -07:00
output_parsers Harrison/json new line (#4646) 2023-05-13 21:46:33 -07:00
prompts Harrison/unified objectives (#4905) 2023-05-17 23:03:57 -07:00
retrievers docs retriever improvements (#4430) 2023-05-17 15:29:22 -07:00
tools Cadlabs/python tool sanitization (#4754) 2023-05-17 19:46:12 -07:00
utilities Harrison/serper api bug (#4902) 2023-05-17 21:40:39 -07:00
vectorstores Harrison/faiss norm (#4903) 2023-05-17 21:40:49 -07:00
__init__.py console callback verbose (#4696) 2023-05-17 01:28:43 +00:00
base_language.py Harrison/standard llm interface (#4615) 2023-05-13 09:05:31 -07:00
cache.py Optimize the initialization method of GPTCache (#4522) 2023-05-11 16:15:23 -07:00
docker-compose.yaml Update docker-compose.yaml (#3582) 2023-04-26 15:11:59 -07:00
document_transformers.py Contextual compression retriever (#2915) 2023-04-20 17:01:14 -07:00
env.py Add Environment Info to Run (#4691) 2023-05-15 15:38:49 +00:00
example_generator.py Replace remaining usage of basellm with baselangmodel (#3981) 2023-05-02 21:52:29 -07:00
formatting.py Validate input_variables when using jinja2 templates (#3140) 2023-04-19 16:18:32 -07:00
input.py Bold Crumbs (#4876) 2023-05-17 22:50:35 +00:00
math_utils.py fix #3884 (#3475) 2023-04-24 19:54:15 -07:00
model_laboratory.py Harrison/improve cache (#368) 2022-12-18 16:22:42 -05:00
py.typed Add py.typed marker to package (#121) 2022-11-12 11:22:32 -08:00
python.py Move PythonRepl -> langchain.utilities (#2917) 2023-04-15 10:50:25 -07:00
requests.py fixed aiohttp.client_exceptions.ClientConnectionError: Connection closed (#2718) 2023-04-11 10:52:55 -07:00
schema.py Add _type for all parsers (#4189) 2023-05-11 01:27:58 -07:00
serpapi.py move serpapi wrapper (#1199) 2023-02-20 21:15:45 -08:00
server.py Update Tracing Walkthrough (#4760) 2023-05-16 13:26:43 +00:00
sql_database.py Vwp/sqlalchemy (#4145) 2023-05-04 20:46:38 -07:00
text_splitter.py Fix TextSplitter.from_tiktoken(#4361) 2023-05-08 16:36:38 -07:00
utils.py Harrison/virtual time (#4658) 2023-05-14 10:29:17 -07:00