A loader for Quip
docs.
Specify a list folder_ids
and/or thread_ids
to load in the corresponding docs into Document objects, if both are specified, loader will get all thread_ids
belong to this folder based on folder_ids
, combine with passed thread_ids
, the union of both sets will be returned.
You can also set include_all_folders
as True
will fetch group_folder_ids and You can also specify a boolean include_attachments
to include attachments, this is set to False by default, if set to True all attachments will be downloaded and QuipLoader will extract the text from the attachments and add it to the Document object. Currently supported attachment types are: PDF
, PNG
, JPEG/JPG
, SVG
, Word
and Excel
. Also you can sepcify a boolean include_comments
to include comments in document, this is set to False by default, if set to True all comments in document will be fetched and QuipLoader will add them to Document objec.
Before using QuipLoader make sure you have the latest version of the quip-api package installed:
from langchain_community.document_loaders.quip import QuipLoader
loader = QuipLoader(
api_url="https://platform.quip.com", access_token="change_me", request_timeout=60
)
documents = loader.load(
folder_ids={"123", "456"},
thread_ids={"abc", "efg"},
include_attachments=False,
include_comments=False,
)
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4