id
stringlengths
14
15
text
stringlengths
23
2.21k
source
stringlengths
52
97
366b16df4f7e-0
Diffbot | 🦜�🔗 Langchain
https://python.langchain.com/docs/integrations/document_loaders/diffbot
366b16df4f7e-1
Skip to main content🦜�🔗 LangChainDocsUse casesIntegrationsAPILangSmithJS/TS DocsCTRLKIntegrationsCallbacksChat modelsDocument loadersEtherscan LoaderacreomAirbyte JSONAirtableAlibaba Cloud MaxComputeApify DatasetArxivAsyncHtmlLoaderAWS S3 DirectoryAWS S3 FileAZLyricsAzure Blob Storage ContainerAzure Blob Storag...
https://python.langchain.com/docs/integrations/document_loaders/diffbot
366b16df4f7e-2
It starts with computer vision, which classifies a page into one of 20 possible types. Content is then interpreted by a machine learning model trained to identify the key attributes on a page based on its type.
https://python.langchain.com/docs/integrations/document_loaders/diffbot
366b16df4f7e-3
The result is a website transformed into clean structured data (like JSON or CSV), ready for your application.This covers how to extract HTML documents from a list of URLs using the Diffbot extract API, into a document format that we can use downstream.urls = [ "https://python.langchain.com/en/latest/index.html",]Th...
https://python.langchain.com/docs/integrations/document_loaders/diffbot
366b16df4f7e-4
concept of persisting state between calls of a chain/agent. LangChain provides a standard interface for memory, a collection of memory implementations, and examples of chains/agents that use memory.\nIndexes: Language models are often more powerful when combined with your own text data - this module covers best practic...
https://python.langchain.com/docs/integrations/document_loaders/diffbot
366b16df4f7e-5
Extract structured information from text.\nSummarization: Summarizing longer documents into shorter, more condensed chunks of information. A type of Data Augmented Generation.\nEvaluation: Generative models are notoriously hard to evaluate with traditional metrics. One new way of evaluating them is using language model...
https://python.langchain.com/docs/integrations/document_loaders/diffbot
366b16df4f7e-6
'https://python.langchain.com/en/latest/index.html'})]PreviousDatadog LogsNextDiscordCommunityDiscordTwitterGitHubPythonJS/TSMoreHomepageBlogCopyright © 2023 LangChain, Inc.
https://python.langchain.com/docs/integrations/document_loaders/diffbot
d6a44d45a54a-0
Copy Paste | 🦜�🔗 Langchain
https://python.langchain.com/docs/integrations/document_loaders/copypaste
d6a44d45a54a-1
Skip to main content🦜�🔗 LangChainDocsUse casesIntegrationsAPILangSmithJS/TS DocsCTRLKIntegrationsCallbacksChat modelsDocument loadersEtherscan LoaderacreomAirbyte JSONAirtableAlibaba Cloud MaxComputeApify DatasetArxivAsyncHtmlLoaderAWS S3 DirectoryAWS S3 FileAZLyricsAzure Blob Storage ContainerAzure Blob Storag...
https://python.langchain.com/docs/integrations/document_loaders/copypaste
d6a44d45a54a-2
object from something you just want to copy and paste. In this case, you don't even need to use a DocumentLoader, but rather can just construct the Document directly.from langchain.docstore.document import Documenttext = "..... put the text you copy pasted here......"doc = Document(page_content=text)Metadata​If you w...
https://python.langchain.com/docs/integrations/document_loaders/copypaste
7607a281070b-0
Recursive URL Loader | 🦜�🔗 Langchain
https://python.langchain.com/docs/integrations/document_loaders/recursive_url_loader
7607a281070b-1
Skip to main content🦜�🔗 LangChainDocsUse casesIntegrationsAPILangSmithJS/TS DocsCTRLKIntegrationsCallbacksChat modelsDocument loadersEtherscan LoaderacreomAirbyte JSONAirtableAlibaba Cloud MaxComputeApify DatasetArxivAsyncHtmlLoaderAWS S3 DirectoryAWS S3 FileAZLyricsAzure Blob Storage ContainerAzure Blob Storag...
https://python.langchain.com/docs/integrations/document_loaders/recursive_url_loader
7607a281070b-2
a root directory.For example, let's look at the LangChain JS documentation.This has many interesting child pages that we may want to read in bulk.Of course, the WebBaseLoader can load a list of pages. But, the challenge is traversing the tree of child pages and actually assembling that list!We do this using the Recursi...
https://python.langchain.com/docs/integrations/document_loaders/recursive_url_loader
7607a281070b-3
exclude_dirs=exclude_dirs)# Lazy load eachdocs = [print(doc) or doc for doc in loader.lazy_load()]# Load all pagesdocs = loader.load()len(docs) 188docs[0].page_content[:50] '\n\n\n\n\nAgent Simulations | 🦜�🔗 Langchain\n\n\n\n\n\nSkip t'docs[0].metadata {'source': 'https://js.langchain.com/docs/use_case...
https://python.langchain.com/docs/integrations/document_loaders/recursive_url_loader
82d135932257-0
Google Drive | 🦜�🔗 Langchain
https://python.langchain.com/docs/integrations/document_loaders/google_drive
82d135932257-1
Skip to main content🦜�🔗 LangChainDocsUse casesIntegrationsAPILangSmithJS/TS DocsCTRLKIntegrationsCallbacksChat modelsDocument loadersEtherscan LoaderacreomAirbyte JSONAirtableAlibaba Cloud MaxComputeApify DatasetArxivAsyncHtmlLoaderAWS S3 DirectoryAWS S3 FileAZLyricsAzure Blob Storage ContainerAzure Blob Storag...
https://python.langchain.com/docs/integrations/document_loaders/google_drive
82d135932257-2
service developed by Google.This notebook covers how to load documents from Google Drive. Currently, only Google Docs are supported.Prerequisites​Create a Google Cloud project or use an existing projectEnable the Google Drive APIAuthorize credentials for desktop apppip install --upgrade google-api-python-client googl...
https://python.langchain.com/docs/integrations/document_loaders/google_drive
82d135932257-3
to recursively fetch files from subfolders. Defaults to False. recursive=False,)docs = loader.load()When you pass a folder_id by default all files of type document, sheet and pdf are loaded. You can modify this behaviour by passing a file_types argument loader = GoogleDriveLoader( folder_id="1yucgL9WGgWZdM1TOuKke...
https://python.langchain.com/docs/integrations/document_loaders/google_drive
82d135932257-4
Flyers\n PHI\n 2\n \n \n Maple Leafs\n TOR\n 13\n \n \n', metadata={'filetype': 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', 'page_number': 1, 'page_name': 'Stanley Cups', 'text_as_html': '<table border="1" class="dataframe">\n <tbody>\n <tr>\n <td>Tea...
https://python.langchain.com/docs/integrations/document_loaders/google_drive
82d135932257-5
can also process a folder with a mix of files and Google Docs/Sheets using the following pattern:folder_id = "1asMOHY1BqBS84JcRbOag5LOJac74gpmD"loader = GoogleDriveLoader( folder_id=folder_id, file_loader_cls=UnstructuredFileIOLoader, file_loader_kwargs={"mode": "elements"},)docs = loader.load()docs[0] Docu...
https://python.langchain.com/docs/integrations/document_loaders/google_drive
82d135932257-6
<td>STL</td>\n <td>1</td>\n </tr>\n <tr>\n <td>Flyers</td>\n <td>PHI</td>\n <td>2</td>\n </tr>\n <tr>\n <td>Maple Leafs</td>\n <td>TOR</td>\n <td>13</td>\n </tr>\n </tbody>\n</table>', 'category': 'Table', 'source': 'https://drive.google.com/file/d/1aA6L2AR3g0CR-PW03HE...
https://python.langchain.com/docs/integrations/document_loaders/google_drive
87af9ae43d32-0
EPub | 🦜�🔗 Langchain
https://python.langchain.com/docs/integrations/document_loaders/epub
87af9ae43d32-1
Skip to main content🦜�🔗 LangChainDocsUse casesIntegrationsAPILangSmithJS/TS DocsCTRLKIntegrationsCallbacksChat modelsDocument loadersEtherscan LoaderacreomAirbyte JSONAirtableAlibaba Cloud MaxComputeApify DatasetArxivAsyncHtmlLoaderAWS S3 DirectoryAWS S3 FileAZLyricsAzure Blob Storage ContainerAzure Blob Storag...
https://python.langchain.com/docs/integrations/document_loaders/epub
87af9ae43d32-2
that uses the ".epub" file extension. The term is short for electronic publication and is sometimes styled ePub. EPUB is supported by many e-readers, and compatible software is available for most smartphones, tablets, and computers.This covers how to load .epub documents into the Document format that we can use downstr...
https://python.langchain.com/docs/integrations/document_loaders/epub
d8639420221f-0
Cube Semantic Layer | 🦜�🔗 Langchain
https://python.langchain.com/docs/integrations/document_loaders/cube_semantic
d8639420221f-1
Skip to main content🦜�🔗 LangChainDocsUse casesIntegrationsAPILangSmithJS/TS DocsCTRLKIntegrationsCallbacksChat modelsDocument loadersEtherscan LoaderacreomAirbyte JSONAirtableAlibaba Cloud MaxComputeApify DatasetArxivAsyncHtmlLoaderAWS S3 DirectoryAWS S3 FileAZLyricsAzure Blob Storage ContainerAzure Blob Storag...
https://python.langchain.com/docs/integrations/document_loaders/cube_semantic
d8639420221f-2
retrieving Cube's data model metadata in a format suitable for passing to LLMs as embeddings, thereby enhancing contextual information.About Cube​Cube is the Semantic Layer for building data apps. It helps data engineers and application developers access data from modern data stores, organize it into consistent defin...
https://python.langchain.com/docs/integrations/document_loaders/cube_semantic
d8639420221f-3
api_token)documents = loader.load()Returns a list of documents with the following attributes:page_contentmetadatatable_namecolumn_namecolumn_data_typecolumn_titlecolumn_descriptioncolumn_valuespage_content='Users View City, None' metadata={'table_name': 'users_view', 'column_name': 'users_view.city', 'column_data_type'...
https://python.langchain.com/docs/integrations/document_loaders/cube_semantic
560674f360a0-0
Stripe | 🦜�🔗 Langchain
https://python.langchain.com/docs/integrations/document_loaders/stripe
560674f360a0-1
Skip to main content🦜�🔗 LangChainDocsUse casesIntegrationsAPILangSmithJS/TS DocsCTRLKIntegrationsCallbacksChat modelsDocument loadersEtherscan LoaderacreomAirbyte JSONAirtableAlibaba Cloud MaxComputeApify DatasetArxivAsyncHtmlLoaderAWS S3 DirectoryAWS S3 FileAZLyricsAzure Blob Storage ContainerAzure Blob Storag...
https://python.langchain.com/docs/integrations/document_loaders/stripe
560674f360a0-2
company. It offers payment-processing software and application programming interfaces for e-commerce websites and mobile applications.This notebook covers how to load data from the Stripe REST API into a format that can be ingested into LangChain, along with example usage for vectorization.import osfrom langchain.docum...
https://python.langchain.com/docs/integrations/document_loaders/stripe
c521b4604dc6-0
Image captions | 🦜�🔗 Langchain
https://python.langchain.com/docs/integrations/document_loaders/image_captions
c521b4604dc6-1
Skip to main content🦜�🔗 LangChainDocsUse casesIntegrationsAPILangSmithJS/TS DocsCTRLKIntegrationsCallbacksChat modelsDocument loadersEtherscan LoaderacreomAirbyte JSONAirtableAlibaba Cloud MaxComputeApify DatasetArxivAsyncHtmlLoaderAWS S3 DirectoryAWS S3 FileAZLyricsAzure Blob Storage ContainerAzure Blob Storag...
https://python.langchain.com/docs/integrations/document_loaders/image_captions
c521b4604dc6-2
Salesforce BLIP image captioning model.This notebook shows how to use the ImageCaptionLoader to generate a query-able index of image captions#!pip install transformersfrom langchain.document_loaders import ImageCaptionLoaderPrepare a list of image urls from Wikimedia​list_image_urls = [ "https://upload.wikimedia.o...
https://python.langchain.com/docs/integrations/document_loaders/image_captions
c521b4604dc6-3
"https://upload.wikimedia.org/wikipedia/commons/thumb/b/b6/2022-01-22_Men%27s_World_Cup_at_2021-22_St._Moritz%E2%80%93Celerina_Luge_World_Cup_and_European_Championships_by_Sandro_Halank%E2%80%93257.jpg/288px-2022-01-22_Men%27s_World_Cup_at_2021-22_St._Moritz%E2%80%93Celerina_Luge_World_Cup_and_European_Championships_by...
https://python.langchain.com/docs/integrations/document_loaders/image_captions
c521b4604dc6-4
Document(page_content='an image of a shark swimming in the ocean [SEP]', metadata={'image_path': 'https://upload.wikimedia.org/wikipedia/commons/thumb/7/71/Tibur%C3%B3n_azul_%28Prionace_glauca%29%2C_canal_Fayal-Pico%2C_islas_Azores%2C_Portugal%2C_2020-07-27%2C_DD_14.jpg/270px-Tibur%C3%B3n_azul_%28Prionace_glauca%29%2C_...
https://python.langchain.com/docs/integrations/document_loaders/image_captions
c521b4604dc6-5
image of a man on skis in the snow [SEP]', metadata={'image_path': 'https://upload.wikimedia.org/wikipedia/commons/thumb/b/b6/2022-01-22_Men%27s_World_Cup_at_2021-22_St._Moritz%E2%80%93Celerina_Luge_World_Cup_and_European_Championships_by_Sandro_Halank%E2%80%93257.jpg/288px-2022-01-22_Men%27s_World_Cup_at_2021-22_St._M...
https://python.langchain.com/docs/integrations/document_loaders/image_captions
c521b4604dc6-6
https://ipywidgets.readthedocs.io/en/stable/user_install.html from .autonotebook import tqdm as notebook_tqdm /Users/saitosean/dev/langchain/.venv/lib/python3.10/site-packages/transformers/generation/utils.py:1313: UserWarning: Using `max_length`'s default (20) to control the generation length. This behaviour i...
https://python.langchain.com/docs/integrations/document_loaders/image_captions
e5517a6b6009-0
WhatsApp Chat | 🦜�🔗 Langchain
https://python.langchain.com/docs/integrations/document_loaders/whatsapp_chat
e5517a6b6009-1
Skip to main content🦜�🔗 LangChainDocsUse casesIntegrationsAPILangSmithJS/TS DocsCTRLKIntegrationsCallbacksChat modelsDocument loadersEtherscan LoaderacreomAirbyte JSONAirtableAlibaba Cloud MaxComputeApify DatasetArxivAsyncHtmlLoaderAWS S3 DirectoryAWS S3 FileAZLyricsAzure Blob Storage ContainerAzure Blob Storag...
https://python.langchain.com/docs/integrations/document_loaders/whatsapp_chat
e5517a6b6009-2
cross-platform, centralized instant messaging (IM) and voice-over-IP (VoIP) service. It allows users to send text and voice messages, make voice and video calls, and share images, documents, user locations, and other content.This notebook covers how to load data from the WhatsApp Chats into a format that can be ingeste...
https://python.langchain.com/docs/integrations/document_loaders/whatsapp_chat
85ad3557522c-0
Alibaba Cloud MaxCompute | 🦜�🔗 Langchain
https://python.langchain.com/docs/integrations/document_loaders/alibaba_cloud_maxcompute
85ad3557522c-1
Skip to main content🦜�🔗 LangChainDocsUse casesIntegrationsAPILangSmithJS/TS DocsCTRLKIntegrationsCallbacksChat modelsDocument loadersEtherscan LoaderacreomAirbyte JSONAirtableAlibaba Cloud MaxComputeApify DatasetArxivAsyncHtmlLoaderAWS S3 DirectoryAWS S3 FileAZLyricsAzure Blob Storage ContainerAzure Blob Storag...
https://python.langchain.com/docs/integrations/document_loaders/alibaba_cloud_maxcompute
85ad3557522c-2
Cloud MaxCompute (previously known as ODPS) is a general purpose, fully managed, multi-tenancy data processing platform for large-scale data warehousing. MaxCompute supports various data importing solutions and distributed computing models, enabling users to effectively query massive datasets, reduce production costs, ...
https://python.langchain.com/docs/integrations/document_loaders/alibaba_cloud_maxcompute
85ad3557522c-3
(from pyodps) (1.26.15) Requirement already satisfied: idna>=2.5 in /Users/newboy/anaconda3/envs/langchain/lib/python3.9/site-packages (from pyodps) (3.4) Requirement already satisfied: certifi>=2017.4.17 in /Users/newboy/anaconda3/envs/langchain/lib/python3.9/site-packages (from pyodps) (2023.5.7) Installing ...
https://python.langchain.com/docs/integrations/document_loaders/alibaba_cloud_maxcompute
85ad3557522c-4
secret_access_key=SECRET_ACCESS_KEY,)data = loader.load()print(data) [Document(page_content='id: 1\ncontent: content1\nmeta_info: meta_info1', metadata={}), Document(page_content='id: 2\ncontent: content2\nmeta_info: meta_info2', metadata={}), Document(page_content='id: 3\ncontent: content3\nmeta_info: meta_info3', ...
https://python.langchain.com/docs/integrations/document_loaders/alibaba_cloud_maxcompute
ee1def5f844d-0
Microsoft Excel | 🦜�🔗 Langchain
https://python.langchain.com/docs/integrations/document_loaders/excel
ee1def5f844d-1
Skip to main content🦜�🔗 LangChainDocsUse casesIntegrationsAPILangSmithJS/TS DocsCTRLKIntegrationsCallbacksChat modelsDocument loadersEtherscan LoaderacreomAirbyte JSONAirtableAlibaba Cloud MaxComputeApify DatasetArxivAsyncHtmlLoaderAWS S3 DirectoryAWS S3 FileAZLyricsAzure Blob Storage ContainerAzure Blob Storag...
https://python.langchain.com/docs/integrations/document_loaders/excel
ee1def5f844d-2
files. The loader works with both .xlsx and .xls files. The page content will be the raw text of the Excel file. If you use the loader in "elements" mode, an HTML representation of the Excel file will be available in the document metadata under the text_as_html key.from langchain.document_loaders import UnstructuredExc...
https://python.langchain.com/docs/integrations/document_loaders/excel
ee1def5f844d-3
</tr>\n <tr>\n <td>Blues</td>\n <td>STL</td>\n <td>1</td>\n </tr>\n <tr>\n <td>Flyers</td>\n <td>PHI</td>\n <td>2</td>\n </tr>\n <tr>\n <td>Maple Leafs</td>\n <td>TOR</td>\n <td>13</td>\n </tr>\n </tbody>\n</table>', 'category': 'Table'})PreviousNotebookNe...
https://python.langchain.com/docs/integrations/document_loaders/excel
fdb63f9d8dc4-0
Trello | 🦜�🔗 Langchain
https://python.langchain.com/docs/integrations/document_loaders/trello
fdb63f9d8dc4-1
Skip to main content🦜�🔗 LangChainDocsUse casesIntegrationsAPILangSmithJS/TS DocsCTRLKIntegrationsCallbacksChat modelsDocument loadersEtherscan LoaderacreomAirbyte JSONAirtableAlibaba Cloud MaxComputeApify DatasetArxivAsyncHtmlLoaderAWS S3 DirectoryAWS S3 FileAZLyricsAzure Blob Storage ContainerAzure Blob Storag...
https://python.langchain.com/docs/integrations/document_loaders/trello
fdb63f9d8dc4-2
and collaboration tool that allows individuals and teams to organize and track their tasks and projects. It provides a visual interface known as a "board" where users can create lists and cards to represent their tasks and activities.The TrelloLoader allows you to load cards from a Trello board and is implemented on to...
https://python.langchain.com/docs/integrations/document_loaders/trello
fdb63f9d8dc4-3
langchain.document_loaders import TrelloLoader# Get the open cards from "Awesome Board"loader = TrelloLoader.from_credentials( "Awesome Board", api_key=API_KEY, token=TOKEN, card_filter="open",)documents = loader.load()print(documents[0].page_content)print(documents[0].metadata) Review Tech partner pages...
https://python.langchain.com/docs/integrations/document_loaders/trello
fdb63f9d8dc4-4
include_card_name=False, include_checklist=False, include_comments=False,)documents = loader.load()print("Document: " + documents[0].page_content)print(documents[0].metadata)PreviousTOMLNextTSVFeaturesCommunityDiscordTwitterGitHubPythonJS/TSMoreHomepageBlogCopyright © 2023 LangChain, Inc.
https://python.langchain.com/docs/integrations/document_loaders/trello
cf94e2a9c213-0
IMSDb | 🦜�🔗 Langchain
https://python.langchain.com/docs/integrations/document_loaders/imsdb
cf94e2a9c213-1
Skip to main content🦜�🔗 LangChainDocsUse casesIntegrationsAPILangSmithJS/TS DocsCTRLKIntegrationsCallbacksChat modelsDocument loadersEtherscan LoaderacreomAirbyte JSONAirtableAlibaba Cloud MaxComputeApify DatasetArxivAsyncHtmlLoaderAWS S3 DirectoryAWS S3 FileAZLyricsAzure Blob Storage ContainerAzure Blob Storag...
https://python.langchain.com/docs/integrations/document_loaders/imsdb
cf94e2a9c213-2
Database.This covers how to load IMSDb webpages into a document format that we can use downstream.from langchain.document_loaders import IMSDbLoaderloader = IMSDbLoader("https://imsdb.com/scripts/BlacKkKlansman.html")data = loader.load()data[0].page_content[:500] '\n\r\n\r\n\r\n\r\n ...
https://python.langchain.com/docs/integrations/document_loaders/imsdb
cf94e2a9c213-3
Kevin Willmott & Spike Lee\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n FADE IN:\r\n \r\n SCENE FROM "GONE WITH'data[0].metadata {'source': 'https://imsdb.com/scripts/BlacKkKlansman.html'}PreviousImage captionsNextIuguCommunityDiscordTwitterGitHubPythonJS/TSMoreHomepag...
https://python.langchain.com/docs/integrations/document_loaders/imsdb
579460cafa0c-0
chatgpt_loader | 🦜�🔗 Langchain
https://python.langchain.com/docs/integrations/document_loaders/chatgpt_loader
579460cafa0c-1
Skip to main content🦜�🔗 LangChainDocsUse casesIntegrationsAPILangSmithJS/TS DocsCTRLKIntegrationsCallbacksChat modelsDocument loadersEtherscan LoaderacreomAirbyte JSONAirtableAlibaba Cloud MaxComputeApify DatasetArxivAsyncHtmlLoaderAWS S3 DirectoryAWS S3 FileAZLyricsAzure Blob Storage ContainerAzure Blob Storag...
https://python.langchain.com/docs/integrations/document_loaders/chatgpt_loader
579460cafa0c-2
Data​ChatGPT is an artificial intelligence (AI) chatbot developed by OpenAI.This notebook covers how to load conversations.json from your ChatGPT data export folder.You can get your data export by email by going to: https://chat.openai.com/ -> (Profile) - Settings -> Export data -> Confirm export.from langchain.docum...
https://python.langchain.com/docs/integrations/document_loaders/chatgpt_loader
683ed21c0532-0
RST | 🦜�🔗 Langchain
https://python.langchain.com/docs/integrations/document_loaders/rst
683ed21c0532-1
Skip to main content🦜�🔗 LangChainDocsUse casesIntegrationsAPILangSmithJS/TS DocsCTRLKIntegrationsCallbacksChat modelsDocument loadersEtherscan LoaderacreomAirbyte JSONAirtableAlibaba Cloud MaxComputeApify DatasetArxivAsyncHtmlLoaderAWS S3 DirectoryAWS S3 FileAZLyricsAzure Blob Storage ContainerAzure Blob Storag...
https://python.langchain.com/docs/integrations/document_loaders/rst
683ed21c0532-2
file is a file format for textual data used primarily in the Python programming language community for technical documentation.UnstructuredRSTLoader​You can load data from RST files with UnstructuredRSTLoader using the following workflow.from langchain.document_loaders import UnstructuredRSTLoaderloader = Unstructure...
https://python.langchain.com/docs/integrations/document_loaders/rst
96e172686693-0
AWS S3 Directory | 🦜�🔗 Langchain
https://python.langchain.com/docs/integrations/document_loaders/aws_s3_directory
96e172686693-1
Skip to main content🦜�🔗 LangChainDocsUse casesIntegrationsAPILangSmithJS/TS DocsCTRLKIntegrationsCallbacksChat modelsDocument loadersEtherscan LoaderacreomAirbyte JSONAirtableAlibaba Cloud MaxComputeApify DatasetArxivAsyncHtmlLoaderAWS S3 DirectoryAWS S3 FileAZLyricsAzure Blob Storage ContainerAzure Blob Storag...
https://python.langchain.com/docs/integrations/document_loaders/aws_s3_directory
96e172686693-2
(Amazon S3) is an object storage serviceAWS S3 DirectoryThis covers how to load document objects from an AWS S3 Directory object.#!pip install boto3from langchain.document_loaders import S3DirectoryLoaderloader = S3DirectoryLoader("testing-hwc")loader.load()Specifying a prefix​You can also specify a prefix for more f...
https://python.langchain.com/docs/integrations/document_loaders/aws_s3_directory
220ff1a2ddb8-0
LarkSuite (FeiShu) | 🦜�🔗 Langchain
https://python.langchain.com/docs/integrations/document_loaders/larksuite
220ff1a2ddb8-1
Skip to main content🦜�🔗 LangChainDocsUse casesIntegrationsAPILangSmithJS/TS DocsCTRLKIntegrationsCallbacksChat modelsDocument loadersEtherscan LoaderacreomAirbyte JSONAirtableAlibaba Cloud MaxComputeApify DatasetArxivAsyncHtmlLoaderAWS S3 DirectoryAWS S3 FileAZLyricsAzure Blob Storage ContainerAzure Blob Storag...
https://python.langchain.com/docs/integrations/document_loaders/larksuite
220ff1a2ddb8-2
is an enterprise collaboration platform developed by ByteDance.This notebook covers how to load data from the LarkSuite REST API into a format that can be ingested into LangChain, along with example usage for text summarization.The LarkSuite API requires an access token (tenant_access_token or user_access_token), check...
https://python.langchain.com/docs/integrations/document_loaders/larksuite
2f6ddc5bd88c-0
Wikipedia | 🦜�🔗 Langchain
https://python.langchain.com/docs/integrations/document_loaders/wikipedia
2f6ddc5bd88c-1
Skip to main content🦜�🔗 LangChainDocsUse casesIntegrationsAPILangSmithJS/TS DocsCTRLKIntegrationsCallbacksChat modelsDocument loadersEtherscan LoaderacreomAirbyte JSONAirtableAlibaba Cloud MaxComputeApify DatasetArxivAsyncHtmlLoaderAWS S3 DirectoryAWS S3 FileAZLyricsAzure Blob Storage ContainerAzure Blob Storag...
https://python.langchain.com/docs/integrations/document_loaders/wikipedia
2f6ddc5bd88c-2
encyclopedia written and maintained by a community of volunteers, known as Wikipedians, through open collaboration and using a wiki-based editing system called MediaWiki. Wikipedia is the largest and most-read reference work in history.This notebook shows how to load wiki pages from wikipedia.org into the Document form...
https://python.langchain.com/docs/integrations/document_loaders/wikipedia
9202e6d46162-0
Apify Dataset | 🦜�🔗 Langchain
https://python.langchain.com/docs/integrations/document_loaders/apify_dataset
9202e6d46162-1
Skip to main content🦜�🔗 LangChainDocsUse casesIntegrationsAPILangSmithJS/TS DocsCTRLKIntegrationsCallbacksChat modelsDocument loadersEtherscan LoaderacreomAirbyte JSONAirtableAlibaba Cloud MaxComputeApify DatasetArxivAsyncHtmlLoaderAWS S3 DirectoryAWS S3 FileAZLyricsAzure Blob Storage ContainerAzure Blob Storag...
https://python.langchain.com/docs/integrations/document_loaders/apify_dataset
9202e6d46162-2
append-only storage with sequential access built for storing structured web scraping results, such as a list of products or Google SERPs, and then export them to various formats like JSON, CSV, or Excel. Datasets are mainly used to save results of Apify Actors—serverless cloud programs for varius web scraping, crawli...
https://python.langchain.com/docs/integrations/document_loaders/apify_dataset
9202e6d46162-3
langchain.indexes import VectorstoreIndexCreatorloader = ApifyDatasetLoader( dataset_id="your-dataset-id", dataset_mapping_function=lambda item: Document( page_content=item["text"] or "", metadata={"source": item["url"]} ),)index = VectorstoreIndexCreator().from_loaders([loader])query = "What is Apify?"...
https://python.langchain.com/docs/integrations/document_loaders/apify_dataset
02188152ff4c-0
Gutenberg | 🦜�🔗 Langchain
https://python.langchain.com/docs/integrations/document_loaders/gutenberg
02188152ff4c-1
Skip to main content🦜�🔗 LangChainDocsUse casesIntegrationsAPILangSmithJS/TS DocsCTRLKIntegrationsCallbacksChat modelsDocument loadersEtherscan LoaderacreomAirbyte JSONAirtableAlibaba Cloud MaxComputeApify DatasetArxivAsyncHtmlLoaderAWS S3 DirectoryAWS S3 FileAZLyricsAzure Blob Storage ContainerAzure Blob Storag...
https://python.langchain.com/docs/integrations/document_loaders/gutenberg
02188152ff4c-2
notebook covers how to load links to Gutenberg e-books into a document format that we can use downstream.from langchain.document_loaders import GutenbergLoaderloader = GutenbergLoader("https://www.gutenberg.org/cache/epub/69972/pg69972.txt")data = loader.load()data[0].page_content[:300] 'The Project Gutenberg eBook ...
https://python.langchain.com/docs/integrations/document_loaders/gutenberg
2794cb5b77b4-0
YouTube transcripts | 🦜�🔗 Langchain
https://python.langchain.com/docs/integrations/document_loaders/youtube_transcript
2794cb5b77b4-1
Skip to main content🦜�🔗 LangChainDocsUse casesIntegrationsAPILangSmithJS/TS DocsCTRLKIntegrationsCallbacksChat modelsDocument loadersEtherscan LoaderacreomAirbyte JSONAirtableAlibaba Cloud MaxComputeApify DatasetArxivAsyncHtmlLoaderAWS S3 DirectoryAWS S3 FileAZLyricsAzure Blob Storage ContainerAzure Blob Storag...
https://python.langchain.com/docs/integrations/document_loaders/youtube_transcript
2794cb5b77b4-2
video sharing and social media platform created by Google.This notebook covers how to load documents from YouTube transcripts.from langchain.document_loaders import YoutubeLoader# !pip install youtube-transcript-apiloader = YoutubeLoader.from_youtube_url( "https://www.youtube.com/watch?v=QsYGlZkevEg", add_video_info...
https://python.langchain.com/docs/integrations/document_loaders/youtube_transcript
2794cb5b77b4-3
Note depending on your set up, the service_account_path needs to be set up. See here for more details.from langchain.document_loaders import GoogleApiClient, GoogleApiYoutubeLoader# Init the GoogleApiClientfrom pathlib import Pathgoogle_api_client = GoogleApiClient(credentials_path=Path("your_path_creds.json"))# Use a ...
https://python.langchain.com/docs/integrations/document_loaders/youtube_transcript
6dc4e28f5a72-0
2Markdown | 🦜�🔗 Langchain
https://python.langchain.com/docs/integrations/document_loaders/tomarkdown
6dc4e28f5a72-1
Skip to main content🦜�🔗 LangChainDocsUse casesIntegrationsAPILangSmithJS/TS DocsCTRLKIntegrationsCallbacksChat modelsDocument loadersEtherscan LoaderacreomAirbyte JSONAirtableAlibaba Cloud MaxComputeApify DatasetArxivAsyncHtmlLoaderAWS S3 DirectoryAWS S3 FileAZLyricsAzure Blob Storage ContainerAzure Blob Storag...
https://python.langchain.com/docs/integrations/document_loaders/tomarkdown
6dc4e28f5a72-2
You will need to get your own API key. See https://2markdown.com/loginapi_key = ""from langchain.document_loaders import ToMarkdownLoaderloader = ToMarkdownLoader.from_api_key( url="https://python.langchain.com/en/latest/", api_key=api_key)docs = loader.load()print(docs[0].page_content) ## Contents - [Gett...
https://python.langchain.com/docs/integrations/document_loaders/tomarkdown
6dc4e28f5a72-3
to this headline") How to get started using LangChain to create an Language Model application. - [Quickstart Guide](https://python.langchain.com/en/latest/getting_started/getting_started.html) Concepts and terminology. - [Concepts and terminology](https://python.langchain.com/en/latest/g...
https://python.langchain.com/docs/integrations/document_loaders/tomarkdown
6dc4e28f5a72-4
state that is persisted between calls of a chain/agent. - [Indexes](https://python.langchain.com/en/latest/modules/data_connection.html): Language models become much more powerful when combined with application-specific data - this module contains interfaces and integrations for loading, querying and updating ex...
https://python.langchain.com/docs/integrations/document_loaders/tomarkdown
6dc4e28f5a72-5
to events can be an effective way to evaluate their long-range reasoning and planning abilities. - [Personal Assistants](https://python.langchain.com/en/latest/use_cases/personal_assistants.html): One of the primary LangChain use cases. Personal assistants need to take actions, remember interactions, and have kn...
https://python.langchain.com/docs/integrations/document_loaders/tomarkdown
6dc4e28f5a72-6
longer documents. A type of Data-Augmented Generation. - [Evaluation](https://python.langchain.com/en/latest/use_cases/evaluation.html): Generative models are hard to evaluate with traditional metrics. One promising approach is to use language models themselves to do the evaluation. ## Reference Docs ...
https://python.langchain.com/docs/integrations/document_loaders/tomarkdown
6dc4e28f5a72-7
A collection of instructions, code snippets, and template repositories for deploying LangChain apps. - [Tracing](https://python.langchain.com/en/latest/additional_resources/tracing.html): A guide on using tracing in LangChain to visualize the execution of chains and agents. - [Model Laboratory](https://py...
https://python.langchain.com/docs/integrations/document_loaders/tomarkdown
9f9568892a32-0
TOML | 🦜�🔗 Langchain
https://python.langchain.com/docs/integrations/document_loaders/toml
9f9568892a32-1
Skip to main content🦜�🔗 LangChainDocsUse casesIntegrationsAPILangSmithJS/TS DocsCTRLKIntegrationsCallbacksChat modelsDocument loadersEtherscan LoaderacreomAirbyte JSONAirtableAlibaba Cloud MaxComputeApify DatasetArxivAsyncHtmlLoaderAWS S3 DirectoryAWS S3 FileAZLyricsAzure Blob Storage ContainerAzure Blob Storag...
https://python.langchain.com/docs/integrations/document_loaders/toml
9f9568892a32-2
It is intended to be easy to read and write, and is designed to map unambiguously to a dictionary. Its specification is open-source. TOML is implemented in many programming languages. The name TOML is an acronym for "Tom's Obvious, Minimal Language" referring to its creator, Tom Preston-Werner.If you need to load Toml ...
https://python.langchain.com/docs/integrations/document_loaders/toml
daf269555c1f-0
Iugu | 🦜�🔗 Langchain
https://python.langchain.com/docs/integrations/document_loaders/iugu
daf269555c1f-1
Skip to main content🦜�🔗 LangChainDocsUse casesIntegrationsAPILangSmithJS/TS DocsCTRLKIntegrationsCallbacksChat modelsDocument loadersEtherscan LoaderacreomAirbyte JSONAirtableAlibaba Cloud MaxComputeApify DatasetArxivAsyncHtmlLoaderAWS S3 DirectoryAWS S3 FileAZLyricsAzure Blob Storage ContainerAzure Blob Storag...
https://python.langchain.com/docs/integrations/document_loaders/iugu
daf269555c1f-2
(SaaS) company. It offers payment-processing software and application programming interfaces for e-commerce websites and mobile applications.This notebook covers how to load data from the Iugu REST API into a format that can be ingested into LangChain, along with example usage for vectorization.import osfrom langchain....
https://python.langchain.com/docs/integrations/document_loaders/iugu
59984f065687-0
Jupyter Notebook | 🦜�🔗 Langchain
https://python.langchain.com/docs/integrations/document_loaders/jupyter_notebook