id
stringlengths
14
15
text
stringlengths
23
2.21k
source
stringlengths
52
97
05a517102e8d-0
Mastodon | 🦜�🔗 Langchain
https://python.langchain.com/docs/integrations/document_loaders/mastodon
05a517102e8d-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/mastodon
05a517102e8d-2
and social networking service.This loader fetches the text from the "toots" of a list of Mastodon accounts, using the Mastodon.py Python package.Public accounts can the queried by default without any authentication. If non-public accounts or instances are queried, you have to register an application for your account wh...
https://python.langchain.com/docs/integrations/document_loaders/mastodon
05a517102e8d-3
but it is time to go home 🥲</p> ================================================================================ <p>Last day of the honeymoon. And it’s <a href="https://mastodon.social/tags/caturday" class="mention hashtag" rel="tag">#<span>caturday</span></a>! This cute tabby came to the restaurant to beg f...
https://python.langchain.com/docs/integrations/document_loaders/mastodon
7f00aaca2a14-0
Geopandas | 🦜�🔗 Langchain
https://python.langchain.com/docs/integrations/document_loaders/geopandas
7f00aaca2a14-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/geopandas
7f00aaca2a14-2
make working with geospatial data in python easier. GeoPandas extends the datatypes used by pandas to allow spatial operations on geometric types. Geometric operations are performed by shapely. Geopandas further depends on fiona for file access and matplotlib for plotting.LLM applications (chat, QA) that utilize geospa...
https://python.langchain.com/docs/integrations/document_loaders/geopandas
7f00aaca2a14-3
of the sample of SF crimne data. import matplotlib.pyplot as plt# Load San Francisco map datasf = gpd.read_file("https://data.sfgov.org/resource/3psu-pn9h.geojson")# Plot the San Francisco map and the pointsfig, ax = plt.subplots(figsize=(10, 10))sf.plot(ax=ax, color="white", edgecolor="black")gdf.plot(ax=ax, color="re...
https://python.langchain.com/docs/integrations/document_loaders/geopandas
7f00aaca2a14-4
'coordinates': [-122.420084075249, 37.7083109744362]}, ':@computed_region_26cr_cadq': '9', ':@computed_region_rxqg_mtj9': '8', ':@computed_region_bh8s_q3mv': '309', ':@computed_region_6qbp_sg9q': nan, ':@computed_region_qgnn_b9vv': nan, ':@computed_region_ajp5_b2md': nan, ':@computed_region_yftq_j783': nan, ':@computed...
https://python.langchain.com/docs/integrations/document_loaders/geopandas
f7b89c5e44d3-0
Source Code | 🦜�🔗 Langchain
https://python.langchain.com/docs/integrations/document_loaders/source_code
f7b89c5e44d3-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/source_code
f7b89c5e44d3-2
files using a special approach with language parsing: each top-level function and class in the code is loaded into separate documents. Any remaining code top-level code outside the already loaded functions and classes will be loaded into a seperate document.This approach can potentially improve the accuracy of QA model...
https://python.langchain.com/docs/integrations/document_loaders/source_code
f7b89c5e44d3-3
{'content_type': 'functions_classes', 'language': <Language.JS: 'js'>, 'source': 'example_data/source_code/example.js'} {'content_type': 'simplified_code', 'language': <Language.JS: 'js'>, 'source': 'example_data/source_code/example.js'}print("\n\n--8<--\n\n".join([document.page_content for document ...
https://python.langchain.com/docs/integrations/document_loaders/source_code
f7b89c5e44d3-4
${this.name}!`); } } --8<-- function main() { const name = prompt("Enter your name:"); const obj = new MyClass(name); obj.greet(); } --8<-- // Code for: class MyClass { // Code for: function main() { main();The parser can be disabled for small files. T...
https://python.langchain.com/docs/integrations/document_loaders/source_code
f7b89c5e44d3-5
main() Splitting​Additional splitting could be needed for those functions, classes, or scripts that are too big.loader = GenericLoader.from_filesystem( "./example_data/source_code", glob="*", suffixes=[".js"], parser=LanguageParser(language=Language.JS),)docs = loader.load()from langchain.text_splitter...
https://python.langchain.com/docs/integrations/document_loaders/source_code
f7b89c5e44d3-6
// Code for: function main() { --8<-- main();PreviousSnowflakeNextSpreedlySplittingCommunityDiscordTwitterGitHubPythonJS/TSMoreHomepageBlogCopyright © 2023 LangChain, Inc.
https://python.langchain.com/docs/integrations/document_loaders/source_code
20fa83bf70b0-0
Notion DB 2/2 | 🦜�🔗 Langchain
https://python.langchain.com/docs/integrations/document_loaders/notiondb
20fa83bf70b0-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/notiondb
20fa83bf70b0-2
is a collaboration platform with modified Markdown support that integrates kanban boards, tasks, wikis and databases. It is an all-in-one workspace for notetaking, knowledge and data management, and project and task management.NotionDBLoader is a Python class for loading content from a Notion database. It retrieves pag...
https://python.langchain.com/docs/integrations/document_loaders/notiondb
20fa83bf70b0-3
Once the integration is created, you'll be provided with an Integration Token (API key). Copy this token and keep it safe, as you'll need it to use the NotionDBLoader.3. Connect the Integration to the Database​To connect your integration to the database, follow these steps:Open your database in Notion.Click on the th...
https://python.langchain.com/docs/integrations/document_loaders/notiondb
20fa83bf70b0-4
langchain.document_loaders import NotionDBLoaderloader = NotionDBLoader( integration_token=NOTION_TOKEN, database_id=DATABASE_ID, request_timeout_sec=30, # optional, defaults to 10)docs = loader.load()print(docs) PreviousNotion DB 1/2NextObsidianRequirementsSetup1. Create a Notion Table Database2. Create a...
https://python.langchain.com/docs/integrations/document_loaders/notiondb
57a1900c876c-0
Unstructured File | 🦜�🔗 Langchain
https://python.langchain.com/docs/integrations/document_loaders/unstructured_file
57a1900c876c-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/unstructured_file
57a1900c876c-2
use Unstructured package to load files of many types. Unstructured currently supports loading of text files, powerpoints, html, pdfs, images, and more.# # Install packagepip install "unstructured[local-inference]"pip install layoutparser[layoutmodels,tesseract]# # Install other dependencies# # https://github.com/Unstru...
https://python.langchain.com/docs/integrations/document_loaders/unstructured_file
57a1900c876c-3
Court. My fellow Americans.', lookup_str='', metadata={'source': '../../state_of_the_union.txt'}, lookup_index=0), Document(page_content='Last year COVID-19 kept us apart. This year we are finally together again.', lookup_str='', metadata={'source': '../../state_of_the_union.txt'}, lookup_index=0), Document(pag...
https://python.langchain.com/docs/integrations/document_loaders/unstructured_file
57a1900c876c-4
loader.load()docs[:5] [Document(page_content='1', lookup_str='', metadata={'source': 'layout-parser-paper-fast.pdf', 'filename': 'layout-parser-paper-fast.pdf', 'page_number': 1, 'category': 'UncategorizedText'}, lookup_index=0), Document(page_content='2', lookup_str='', metadata={'source': 'layout-parser-paper-...
https://python.langchain.com/docs/integrations/document_loaders/unstructured_file
57a1900c876c-5
mode="elements")docs = loader.load()docs[:5] [Document(page_content='LayoutParser : A Uni�ed Toolkit for Deep Learning Based Document Image Analysis', lookup_str='', metadata={'source': '../../layout-parser-paper.pdf'}, lookup_index=0), Document(page_content='Zejiang Shen 1 ( (ea)\n ), Ruochen Zhang 2 , Meliss...
https://python.langchain.com/docs/integrations/document_loaders/unstructured_file
57a1900c876c-6
[Document(page_content='LayoutParser: A Uni�ed Toolkit for Deep Learning Based Document Image Analysis', metadata={'source': './example_data/layout-parser-paper.pdf', 'coordinates': {'points': ((157.62199999999999, 114.23496279999995), (157.62199999999999, 146.5141628), (457.7358962799999, 146.5141628), (457.73589627...
https://python.langchain.com/docs/integrations/document_loaders/unstructured_file
57a1900c876c-7
Brown University ruochen zhang@brown.edu 3 Harvard University {melissadell,jacob carlson}@fas.harvard.edu 4 University of Washington bcgl@cs.washington.edu 5 University of Waterloo w422li@uwaterloo.ca', metadata={'source': './example_data/layout-parser-paper.pdf', 'coordinates': {'points': ((207.23000000000002, 202.572...
https://python.langchain.com/docs/integrations/document_loaders/unstructured_file
57a1900c876c-8
286.14), (36.34, 286.14), (36.34, 258.36)), 'system': 'PixelSpace', 'layout_width': 612, 'layout_height': 792}, 'filename': 'layout-parser-paper.pdf', 'file_directory': './example_data', 'filetype': 'application/pdf', 'page_number': 1, 'category': 'Title'})]Unstructured API​If you want to get up and running with less...
https://python.langchain.com/docs/integrations/document_loaders/unstructured_file
57a1900c876c-9
points:\n\nRoses are red\n\nViolets are blue', metadata={'source': ['example_data/fake.docx', 'example_data/fake-email.eml']})PreviousTwitterNextURLRetain ElementsDefine a Partitioning StrategyPDF ExampleUnstructured APICommunityDiscordTwitterGitHubPythonJS/TSMoreHomepageBlogCopyright © 2023 LangChain, Inc.
https://python.langchain.com/docs/integrations/document_loaders/unstructured_file
ac412183640b-0
Psychic | 🦜�🔗 Langchain
https://python.langchain.com/docs/integrations/document_loaders/psychic
ac412183640b-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/psychic
ac412183640b-2
Psychic. See here for more details.Prerequisites​Follow the Quick Start section in this documentLog into the Psychic dashboard and get your secret keyInstall the frontend react library into your web app and have a user authenticate a connection. The connection will be created using the connection id that you specify....
https://python.langchain.com/docs/integrations/document_loaders/psychic
ac412183640b-3
import OpenAIfrom langchain.chains import RetrievalQAWithSourcesChaintext_splitter = CharacterTextSplitter(chunk_size=1000, chunk_overlap=0)texts = text_splitter.split_documents(documents)embeddings = OpenAIEmbeddings()docsearch = Chroma.from_documents(texts, embeddings)chain = RetrievalQAWithSourcesChain.from_chain_ty...
https://python.langchain.com/docs/integrations/document_loaders/psychic
d6f8a5c2e880-0
Images | 🦜�🔗 Langchain
https://python.langchain.com/docs/integrations/document_loaders/image
d6f8a5c2e880-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
d6f8a5c2e880-2
PNG into a document format that we can use downstream.Using Unstructured​#!pip install pdfminerfrom langchain.document_loaders.image import UnstructuredImageLoaderloader = UnstructuredImageLoader("layout-parser-paper-fast.jpg")data = loader.load()data[0] Document(page_content="LayoutParser: A Unified Toolkit for D...
https://python.langchain.com/docs/integrations/document_loaders/image
d6f8a5c2e880-3
de\npltfom for sharing both protrined modes an fal document dist\n{ation pipeline We demonutate that LayootPareer shea fr both\nlightweight and lrgeseledgtieation pipelines in eal-word uae ces\nThe leary pblely smal at Btspe://layost-pareergsthab So\n\n\n\n‘Keywords: Document Image Analysis» Deep Learning Layout Ana...
https://python.langchain.com/docs/integrations/document_loaders/image
7a3dbb140630-0
Pandas DataFrame | 🦜�🔗 Langchain
https://python.langchain.com/docs/integrations/document_loaders/pandas_dataframe
7a3dbb140630-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/pandas_dataframe
7a3dbb140630-2
over how to load data from a pandas DataFrame.#!pip install pandasimport pandas as pddf = pd.read_csv("example_data/mlb_teams_2012.csv")df.head()<div><style scoped> .dataframe tbody tr th:only-of-type { vertical-align: middle; } .dataframe tbody tr th { vertical-align: top; } .dataframe the...
https://python.langchain.com/docs/integrations/document_loaders/pandas_dataframe
7a3dbb140630-3
<td>197.96</td> <td>95</td> </tr> <tr> <th>3</th> <td>Giants</td> <td>117.62</td> <td>94</td> </tr> <tr> <th>4</th> <td>Braves</td> <td>83.31</td> <td>94</td> </tr> </tbody></table></div>from langchain.document_loaders import DataFrameLoaderloader = DataFrame...
https://python.langchain.com/docs/integrations/document_loaders/pandas_dataframe
7a3dbb140630-4
55.37, ' "Wins"': 94}), Document(page_content='Rangers', metadata={' "Payroll (millions)"': 120.51, ' "Wins"': 93}), Document(page_content='Orioles', metadata={' "Payroll (millions)"': 81.43, ' "Wins"': 93}), Document(page_content='Rays', metadata={' "Payroll (millions)"': 64.17, ' "Wins"': 90}), Docume...
https://python.langchain.com/docs/integrations/document_loaders/pandas_dataframe
7a3dbb140630-5
' "Wins"': 81}), Document(page_content='Pirates', metadata={' "Payroll (millions)"': 63.43, ' "Wins"': 79}), Document(page_content='Padres', metadata={' "Payroll (millions)"': 55.24, ' "Wins"': 76}), Document(page_content='Mariners', metadata={' "Payroll (millions)"': 81.97, ' "Wins"': 75}), Document(pa...
https://python.langchain.com/docs/integrations/document_loaders/pandas_dataframe
7a3dbb140630-6
64}), Document(page_content='Cubs', metadata={' "Payroll (millions)"': 88.19, ' "Wins"': 61}), Document(page_content='Astros', metadata={' "Payroll (millions)"': 60.65, ' "Wins"': 55})]# Use lazy load for larger table, which won't read the full table into memoryfor i in loader.lazy_load(): print(i) page_c...
https://python.langchain.com/docs/integrations/document_loaders/pandas_dataframe
7a3dbb140630-7
64.17, ' "Wins"': 90} page_content='Angels' metadata={' "Payroll (millions)"': 154.49, ' "Wins"': 89} page_content='Tigers' metadata={' "Payroll (millions)"': 132.3, ' "Wins"': 88} page_content='Cardinals' metadata={' "Payroll (millions)"': 110.3, ' "Wins"': 88} page_content='Dodgers' metadata={' "Payroll (...
https://python.langchain.com/docs/integrations/document_loaders/pandas_dataframe
7a3dbb140630-8
(millions)"': 93.35, ' "Wins"': 74} page_content='Blue Jays' metadata={' "Payroll (millions)"': 75.48, ' "Wins"': 73} page_content='Royals' metadata={' "Payroll (millions)"': 60.91, ' "Wins"': 72} page_content='Marlins' metadata={' "Payroll (millions)"': 118.07, ' "Wins"': 69} page_content='Red Sox' metadat...
https://python.langchain.com/docs/integrations/document_loaders/pandas_dataframe
2cfa95df34d8-0
Azure Blob Storage File | 🦜�🔗 Langchain
https://python.langchain.com/docs/integrations/document_loaders/azure_blob_storage_file
2cfa95df34d8-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/azure_blob_storage_file
2cfa95df34d8-2
in the cloud that are accessible via the industry standard Server Message Block (SMB) protocol, Network File System (NFS) protocol, and Azure Files REST API.This covers how to load document objects from a Azure Files.#!pip install azure-storage-blobfrom langchain.document_loaders import AzureBlobStorageFileLoaderloader...
https://python.langchain.com/docs/integrations/document_loaders/azure_blob_storage_file
0df6d1f560b5-0
Datadog Logs | 🦜�🔗 Langchain
https://python.langchain.com/docs/integrations/document_loaders/datadog_logs
0df6d1f560b5-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/datadog_logs
0df6d1f560b5-2
analytics platform for cloud-scale applications.This loader fetches the logs from your applications in Datadog using the datadog_api_client Python package. You must initialize the loader with your Datadog API key and APP key, and you need to pass in the query to extract the desired logs.from langchain.document_loaders ...
https://python.langchain.com/docs/integrations/document_loaders/datadog_logs
0df6d1f560b5-3
'container_name:lab_datadog_1', 'datadog.pipelines:false', 'datadog.submission_auth:private_api_key', 'docker_image:datadog/agent:7.41.1', 'env:dd101-dev', 'hostname:lab-host', 'image_name:datadog/agent', 'image_tag:7.41.1', 'instance-id:7497601202021312403', 'instance-type:custom-1-4096', 'instruqt_aws_accounts:', 'in...
https://python.langchain.com/docs/integrations/document_loaders/datadog_logs
0df6d1f560b5-4
'allow-external-ingress-high-ports', 'allow-external-ingress-http', 'allow-external-ingress-https', 'container_id:c7d8ecd27b5b3cfdf3b0df04b8965af6f233f56b7c3c2ffabfab5e3b6ccbd6a5', 'container_name:lab_datadog_1', 'datadog.pipelines:false', 'datadog.submission_auth:private_api_key', 'docker_image:datadog/agent:7.41.1', ...
https://python.langchain.com/docs/integrations/document_loaders/datadog_logs
f775ca91f2d8-0
Roam | 🦜�🔗 Langchain
https://python.langchain.com/docs/integrations/document_loaders/roam
f775ca91f2d8-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/roam
f775ca91f2d8-2
networked thought, designed to create a personal knowledge base.This notebook covers how to load documents from a Roam database. This takes a lot of inspiration from the example repo here.🧑 Instructions for ingesting your own dataset​Export your dataset from Roam Research. You can do this by clicking on the three ...
https://python.langchain.com/docs/integrations/document_loaders/roam
a5257b75d73d-0
Rockset | 🦜�🔗 Langchain
https://python.langchain.com/docs/integrations/document_loaders/rockset
a5257b75d73d-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/rockset
a5257b75d73d-2
which enables queries on massive, semi-structured data without operational burden. With Rockset, ingested data is queryable within one second and analytical queries against that data typically execute in milliseconds. Rockset is compute optimized, making it suitable for serving high concurrency applications in the sub-...
https://python.langchain.com/docs/integrations/document_loaders/rockset
a5257b75d73d-3
used as metadata (if you do not pass anything into metadata_keys, the whole Rockset document will be used as metadata). To execute the query and access an iterator over the resulting Documents, run:loader.lazy_load()To execute the query and access all resulting Documents at once, run:loader.load()Here is an example res...
https://python.langchain.com/docs/integrations/document_loaders/rockset
a5257b75d73d-4
), Document( page_content="Morbi tortor enim, commodo id efficitur vitae, fringilla nec mi. Nullam molestie faucibus aliquet. Praesent a est facilisis, condimentum justo sit amet, viverra erat. Fusce volutpat nisi vel purus blandit, et facilisis felis accumsan. Phasellus luctus ligula ultrices tellus tempor h...
https://python.langchain.com/docs/integrations/document_loaders/rockset
a5257b75d73d-5
value with a new line.For example, if you wanted to join sentence1 and sentence2 with a space instead of a new line, you could set content_columns_joiner like so:RocksetLoader( RocksetClient(Regions.usw2a1, "<api key>"), models.QueryRequestSql(query="SELECT * FROM langchain_demo LIMIT 1 WHERE id=38"), ["senten...
https://python.langchain.com/docs/integrations/document_loaders/rockset
c058b12fd894-0
Discord | 🦜�🔗 Langchain
https://python.langchain.com/docs/integrations/document_loaders/discord
c058b12fd894-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/discord
c058b12fd894-2
Users have the ability to communicate with voice calls, video calls, text messaging, media and files in private chats or as part of communities called "servers". A server is a collection of persistent chat rooms and voice channels which can be accessed via invite links.Follow these steps to download your Discord data:G...
https://python.langchain.com/docs/integrations/document_loaders/discord
f5475ac79013-0
PySpark DataFrame Loader | 🦜�🔗 Langchain
https://python.langchain.com/docs/integrations/document_loaders/pyspark_dataframe
f5475ac79013-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/pyspark_dataframe
f5475ac79013-2
data from a PySpark DataFrame.#!pip install pysparkfrom pyspark.sql import SparkSessionspark = SparkSession.builder.getOrCreate() Setting default log level to "WARN". To adjust logging level use sc.setLogLevel(newLevel). For SparkR, use setLogLevel(newLevel). 23/05/31 14:08:33 WARN NativeCodeLoader: Unable to ...
https://python.langchain.com/docs/integrations/document_loaders/pyspark_dataframe
f5475ac79013-3
117.62', ' "Wins"': ' 94'}), Document(page_content='Braves', metadata={' "Payroll (millions)"': ' 83.31', ' "Wins"': ' 94'}), Document(page_content='Athletics', metadata={' "Payroll (millions)"': ' 55.37', ' "Wins"': ' 94'}), Document(page_content='Rangers', metadata={' "Payroll (millions)"': ' ...
https://python.langchain.com/docs/integrations/document_loaders/pyspark_dataframe
f5475ac79013-4
' 95.14', ' "Wins"': ' 86'}), Document(page_content='White Sox', metadata={' "Payroll (millions)"': ' 96.92', ' "Wins"': ' 85'}), Document(page_content='Brewers', metadata={' "Payroll (millions)"': ' 97.65', ' "Wins"': ' 83'}), Document(page_content='Phillies', metadata={' "Payroll (millions...
https://python.langchain.com/docs/integrations/document_loaders/pyspark_dataframe
f5475ac79013-5
' 75.48', ' "Wins"': ' 73'}), Document(page_content='Royals', metadata={' "Payroll (millions)"': ' 60.91', ' "Wins"': ' 72'}), Document(page_content='Marlins', metadata={' "Payroll (millions)"': ' 118.07', ' "Wins"': ' 69'}), Document(page_content='Red Sox', metadata={' "Payroll (millions)"'...
https://python.langchain.com/docs/integrations/document_loaders/pyspark_dataframe
f5475ac79013-6
© 2023 LangChain, Inc.
https://python.langchain.com/docs/integrations/document_loaders/pyspark_dataframe
4fc3854a6f19-0
BiliBili | 🦜�🔗 Langchain
https://python.langchain.com/docs/integrations/document_loaders/bilibili
4fc3854a6f19-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/bilibili
4fc3854a6f19-2
most beloved long-form video sites in China.This loader utilizes the bilibili-api to fetch the text transcript from Bilibili.With this BiliBiliLoader, users can easily obtain the transcript of their desired video content on the platform.#!pip install bilibili-api-pythonfrom langchain.document_loaders import BiliBiliLoa...
https://python.langchain.com/docs/integrations/document_loaders/bilibili
287d98ff4b36-0
EverNote | 🦜�🔗 Langchain
https://python.langchain.com/docs/integrations/document_loaders/evernote
287d98ff4b36-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/evernote
287d98ff4b36-2
creating notes in which photos, audio and saved web content can be embedded. Notes are stored in virtual "notebooks" and can be tagged, annotated, edited, searched, and exported.This notebook shows how to load an Evernote export file (.enex) from disk.A document will be created for each note in the export.# lxml and ht...
https://python.langchain.com/docs/integrations/document_loaders/evernote
287d98ff4b36-3
- March 2022**', metadata={'title': 'Summer Training Program', 'created': time.struct_time(tm_year=2022, tm_mon=12, tm_mday=27, tm_hour=1, tm_min=59, tm_sec=48, tm_wday=1, tm_yday=361, tm_isdst=-1), 'note-attributes.author': 'Mike McGarry', 'note-attributes.source': 'mobile.iphone', 'source': 'example_data/testing.enex...
https://python.langchain.com/docs/integrations/document_loaders/evernote
2305f18d97d8-0
acreom | 🦜�🔗 Langchain
https://python.langchain.com/docs/integrations/document_loaders/acreom
2305f18d97d8-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/acreom
2305f18d97d8-2
running on local markdown files.Below is an example on how to load a local acreom vault into Langchain. As the local vault in acreom is a folder of plain text .md files, the loader requires the path to the directory. Vault files may contain some metadata which is stored as a YAML header. These values will be added to t...
https://python.langchain.com/docs/integrations/document_loaders/acreom
9f3b7bafd339-0
Notebook | 🦜�🔗 Langchain
https://python.langchain.com/docs/integrations/document_loaders/example_data/notebook
9f3b7bafd339-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/example_data/notebook
9f3b7bafd339-2
covers how to load data from an .ipynb notebook into a format suitable by LangChain.from langchain.document_loaders import NotebookLoaderloader = NotebookLoader("example_data/notebook.ipynb")NotebookLoader.load() loads the .ipynb notebook file into a Document object.Parameters:include_outputs (bool): whether to include...
https://python.langchain.com/docs/integrations/document_loaders/example_data/notebook
f06f9092bd73-0
Facebook Chat | 🦜�🔗 Langchain
https://python.langchain.com/docs/integrations/document_loaders/facebook_chat
f06f9092bd73-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/facebook_chat
f06f9092bd73-2
by Meta Platforms. Originally developed as Facebook Chat in 2008, the company revamped its messaging service in 2010.This notebook covers how to load data from the Facebook Chats into a format that can be ingested into LangChain.# pip install pandasfrom langchain.document_loaders import FacebookChatLoaderloader = Faceb...
https://python.langchain.com/docs/integrations/document_loaders/facebook_chat
f06f9092bd73-3
Thanks!\n\n', metadata={'source': 'example_data/facebook_chat.json'})]PreviousMicrosoft ExcelNextFaunaCommunityDiscordTwitterGitHubPythonJS/TSMoreHomepageBlogCopyright © 2023 LangChain, Inc.
https://python.langchain.com/docs/integrations/document_loaders/facebook_chat
aa9fcc1f5d89-0
Google Cloud Storage Directory | 🦜�🔗 Langchain
https://python.langchain.com/docs/integrations/document_loaders/google_cloud_storage_directory
aa9fcc1f5d89-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_cloud_storage_directory
aa9fcc1f5d89-2
a managed service for storing unstructured data.This covers how to load document objects from an Google Cloud Storage (GCS) directory (bucket).# !pip install google-cloud-storagefrom langchain.document_loaders import GCSDirectoryLoaderloader = GCSDirectoryLoader(project_name="aist", bucket="testing-hwc")loader.load() ...
https://python.langchain.com/docs/integrations/document_loaders/google_cloud_storage_directory
aa9fcc1f5d89-3
lookup_index=0)]Specifying a prefix​You can also specify a prefix for more finegrained control over what files to load.loader = GCSDirectoryLoader(project_name="aist", bucket="testing-hwc", prefix="fake")loader.load() /Users/harrisonchase/workplace/langchain/.venv/lib/python3.10/site-packages/google/auth/_default....
https://python.langchain.com/docs/integrations/document_loaders/google_cloud_storage_directory
aa9fcc1f5d89-4
lookup_index=0)]PreviousGoogle BigQueryNextGoogle Cloud Storage FileSpecifying a prefixCommunityDiscordTwitterGitHubPythonJS/TSMoreHomepageBlogCopyright © 2023 LangChain, Inc.
https://python.langchain.com/docs/integrations/document_loaders/google_cloud_storage_directory
23d0f6159e97-0
Modern Treasury | 🦜�🔗 Langchain
https://python.langchain.com/docs/integrations/document_loaders/modern_treasury
23d0f6159e97-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/modern_treasury
23d0f6159e97-2
unified platform to power products and processes that move money.Connect to banks and payment systemsTrack transactions and balances in real-timeAutomate payment operations for scaleThis notebook covers how to load data from the Modern Treasury REST API into a format that can be ingested into LangChain, along with exam...
https://python.langchain.com/docs/integrations/document_loaders/modern_treasury