Skip to main content

This is a temporary project while I wait for my langchain [pull-request](https://github.com/hwchase17/langchain/pull/5135) to be validated.

Project description

This is a more advanced integration of Google Drive with langchain.

Install

pip install langchain-googledrive

For debug

poetry install -with test
make test

Features:

Langchain component:

Fully compatible with Google Drive API

  • Manage file in trash
  • Manage shortcut
  • Manage file description
  • Paging with request GDrive list()
  • Multiple kinds of template for request GDrive
  • Convert a lot of mime type (can be configured). The list is adjusted according to the packages availables
  • Can use only the description of files, without loading and conversion of the body
  • Lambda fine filter
  • Remove duplicate documents (in case of shortcut)
  • Add Url to documents (or part of documents like specific slide)
  • Use environment variable for reference an API tokens
  • Manage different king of strange state with Google File (absence of URL, etc.)
  • Use fully lazy strategy to save memory
  • Convert GDoc, GSheet and GSlide with different modes
    • Extract text, bullet point, tables, titles, links

langchain Pull-request

I couldn't get a pull-request accepted because the project is too big. Sorry for that.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

langchain_googledrive-0.1.52.tar.gz (27.6 kB view hashes)

Uploaded Source

Built Distribution

langchain_googledrive-0.1.52-py3-none-any.whl (29.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page