id
stringlengths
14
15
text
stringlengths
101
5.26k
source
stringlengths
57
120
5abe4b33791f-2
previous Confluence next Docugami By Harrison Chase © Copyright 2023, Harrison Chase. Last updated on Jun 08, 2023.
https://langchain.readthedocs.io/en/latest/modules/indexes/document_loaders/examples/diffbot.html
9e842e5d2be9-0
.ipynb .pdf Apify Dataset Contents Prerequisites An example with question answering Apify Dataset# Apify Dataset is a scaleable 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, C...
https://langchain.readthedocs.io/en/latest/modules/indexes/document_loaders/examples/apify_dataset.html
6309912f0eb2-0
.ipynb .pdf EPub Contents Retain Elements EPub# EPUB is an e-book file format 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 co...
https://langchain.readthedocs.io/en/latest/modules/indexes/document_loaders/examples/epub.html
29ae03b48461-0
.ipynb .pdf Pandas DataFrame Pandas DataFrame# This notebook goes over how to load data from a pandas DataFrame. #!pip install pandas import pandas as pd df = pd.read_csv('example_data/mlb_teams_2012.csv') df.head() Team "Payroll (millions)" "Wins" 0 Nationals 81.34 98 1 Reds 82.20 97 2 Yankees 197.96 95 3 Giants 117.6...
https://langchain.readthedocs.io/en/latest/modules/indexes/document_loaders/examples/pandas_dataframe.html
29ae03b48461-1
Document(page_content='Rockies', metadata={' "Payroll (millions)"': 78.06, ' "Wins"': 64}), Document(page_content='Cubs', metadata={' "Payroll (millions)"': 88.19, ' "Wins"': 61}), Document(page_content='Astros', metadata={' "Payroll (millions)"': 60.65, ' "Wins"': 55})] previous Open Document Format (ODT) next PDF B...
https://langchain.readthedocs.io/en/latest/modules/indexes/document_loaders/examples/pandas_dataframe.html
a487f687dce1-0
.ipynb .pdf Weather Weather# OpenWeatherMap is an open source weather service provider This loader fetches the weather data from the OpenWeatherMap’s OneCall API, using the pyowm Python package. You must initialize the loader with your OpenWeatherMap API token and the names of the cities you want the weather data for. ...
https://langchain.readthedocs.io/en/latest/modules/indexes/document_loaders/examples/weather.html
87875f71a5d0-0
.ipynb .pdf CoNLL-U CoNLL-U# CoNLL-U is revised version of the CoNLL-X format. Annotations are encoded in plain text files (UTF-8, normalized to NFC, using only the LF character as line break, including an LF character at the end of file) with three types of lines: Word lines containing the annotation of a word/token i...
https://langchain.readthedocs.io/en/latest/modules/indexes/document_loaders/examples/conll-u.html
0bfa54f53660-0
.ipynb .pdf PDF Contents Using PyPDF Using MathPix Using Unstructured Retain Elements Fetching remote PDFs using Unstructured Using PyPDFium2 Using PDFMiner Using PDFMiner to generate HTML text Using PyMuPDF PyPDF Directory Using pdfplumber PDF# Portable Document Format (PDF), standardized as ISO 32000, is a file for...
https://langchain.readthedocs.io/en/latest/modules/indexes/document_loaders/examples/pdf.html
0bfa54f53660-1
the tokens based on the their detect 3: 4 Z. Shen et al. Efficient Data AnnotationC u s t o m i z e d M o d e l T r a i n i n gModel Cust omizationDI A Model HubDI A Pipeline SharingCommunity PlatformLa y out Detection ModelsDocument Images T h e C o r e L a y o u t P a r s e r L i b r a r yOCR ModuleSt or age & ...
https://langchain.readthedocs.io/en/latest/modules/indexes/document_loaders/examples/pdf.html
0bfa54f53660-2
Note: all other pdf loaders can also be used to fetch remote PDFs, but OnlinePDFLoader is a legacy function, and works specifically with UnstructuredPDFLoader. from langchain.document_loaders import OnlinePDFLoader loader = OnlinePDFLoader("https://arxiv.org/pdf/2302.03803.pdf") data = loader.load() print(data)
https://langchain.readthedocs.io/en/latest/modules/indexes/document_loaders/examples/pdf.html
0bfa54f53660-3
[Document(page_content='A WEAK ( k, k ) -LEFSCHETZ THEOREM FOR PROJECTIVE TORIC ORBIFOLDS\n\nWilliam D. Montoya\n\nInstituto de Matem´atica, Estat´ıstica e Computa¸c˜ao Cient´ıfica,\n\nIn [3] we proved that, under suitable conditions, on a very general codimension s quasi- smooth intersection subvariety X in a projectiv...
https://langchain.readthedocs.io/en/latest/modules/indexes/document_loaders/examples/pdf.html
0bfa54f53660-4
. The toric variety P d Σ is a categorical quotient A d ∖ Z ( Σ ) by the group Hom ( Cl ( Σ ) , C ∗ ) and the group action is induced by the Cl ( Σ ) - grading of S .\n\nNow we give a brief introduction to complex orbifolds and we mention the needed theorems for the next section. Namely: de Rham theorem and Dolbeault t...
https://langchain.readthedocs.io/en/latest/modules/indexes/document_loaders/examples/pdf.html
0bfa54f53660-5
the Hard Lefschetz.\n\nCayley trick and Cayley proposition\n\nThe Cayley trick is a way to associate to a quasi-smooth intersection subvariety a quasi- smooth hypersurface. Let L 1 , . . . , L s be line bundles on P d Σ and let π ∶ P ( E ) → P d Σ be the projective space bundle associated to the vector bundle E = L 1 ⊕...
https://langchain.readthedocs.io/en/latest/modules/indexes/document_loaders/examples/pdf.html
0bfa54f53660-6
assume H k,k prim ( X, Q ) ≠ 0. By the Cayley proposition H k,k prim ( Y, Q ) ≃ H 1 , 1 prim ( X, Q ) and by the ( 1 , 1 ) -Lefschetz theorem for projective\n\ntoric orbifolds there is a non-zero algebraic basis λ C 1 , . . . , λ C n with rational coefficients of H 1 , 1 prim ( X, Q ) , that is, there are n ∶ = h 1 , 1 p...
https://langchain.readthedocs.io/en/latest/modules/indexes/document_loaders/examples/pdf.html
0bfa54f53660-7
[\n\n] Bruzzo, U., and Montoya, W. On the Hodge conjecture for quasi-smooth in- tersections in toric varieties. S˜ao Paulo J. Math. Sci. Special Section: Geometry in Algebra and Algebra in Geometry (\n\n). [\n\n] Caramello Jr, F. C. Introduction to orbifolds. a\n\niv:\n\nv\n\n(\n\n). [\n\n] Cox, D., Little, J., and Sch...
https://langchain.readthedocs.io/en/latest/modules/indexes/document_loaders/examples/pdf.html
0bfa54f53660-8
Using PyPDFium2# from langchain.document_loaders import PyPDFium2Loader loader = PyPDFium2Loader("example_data/layout-parser-paper.pdf") data = loader.load() Using PDFMiner# from langchain.document_loaders import PDFMinerLoader loader = PDFMinerLoader("example_data/layout-parser-paper.pdf") data = loader.load() Using P...
https://langchain.readthedocs.io/en/latest/modules/indexes/document_loaders/examples/pdf.html
0bfa54f53660-9
cur_idx += 1 semantic_snippets[4] Document(page_content='Recently, various DL models and datasets have been developed for layout analysis\ntasks. The dhSegment [22] utilizes fully convolutional networks [20] for segmen-\ntation tasks on historical documents. Object detection-based methods like Faster\nR-CNN [28] and Ma...
https://langchain.readthedocs.io/en/latest/modules/indexes/document_loaders/examples/pdf.html
0bfa54f53660-10
Using PyMuPDF# This is the fastest of the PDF parsing options, and contains detailed metadata about the PDF and its pages, as well as returns one document per page. from langchain.document_loaders import PyMuPDFLoader loader = PyMuPDFLoader("example_data/layout-parser-paper.pdf") data = loader.load() data[0] Document(p...
https://langchain.readthedocs.io/en/latest/modules/indexes/document_loaders/examples/pdf.html
0bfa54f53660-11
data = loader.load() data[0] Document(page_content='LayoutParser: A Unified Toolkit for Deep\nLearning Based Document Image Analysis\nZejiang Shen1 ((cid:0)), Ruochen Zhang2, Melissa Dell3, Benjamin Charles Germain\nLee4, Jacob Carlson3, and Weining Li5\n1 Allen Institute for AI\n1202 shannons@allenai.org\n2 Brown Univ...
https://langchain.readthedocs.io/en/latest/modules/indexes/document_loaders/examples/pdf.html
acf837635fda-0
.ipynb .pdf Google Drive Contents Prerequisites 🧑 Instructions for ingesting your Google Docs data Google Drive# Google Drive is a file storage and synchronization service developed by Google. This notebook covers how to load documents from Google Drive. Currently, only Google Docs are supported. Prerequisites# Crea...
https://langchain.readthedocs.io/en/latest/modules/indexes/document_loaders/examples/google_drive.html
1720f0d506a0-0
.ipynb .pdf ReadTheDocs Documentation ReadTheDocs Documentation# Read the Docs is an open-sourced free software documentation hosting platform. It generates documentation written with the Sphinx documentation generator. This notebook covers how to load content from HTML that was generated as part of a Read-The-Docs bui...
https://langchain.readthedocs.io/en/latest/modules/indexes/document_loaders/examples/readthedocs_documentation.html
09980d6f0f00-0
.ipynb .pdf Roam Contents 🧑 Instructions for ingesting your own dataset Roam# ROAM is a note-taking tool for 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 fo...
https://langchain.readthedocs.io/en/latest/modules/indexes/document_loaders/examples/roam.html
2f6d6773c082-0
.ipynb .pdf Markdown Contents Retain Elements Markdown# Markdown is a lightweight markup language for creating formatted text using a plain-text editor. This covers how to load markdown documents into a document format that we can use downstream. # !pip install unstructured > /dev/null from langchain.document_loaders...
https://langchain.readthedocs.io/en/latest/modules/indexes/document_loaders/examples/markdown.html
2f6d6773c082-1
Retain Elements# Under the hood, Unstructured creates different “elements” for different chunks of text. By default we combine those together, but you can easily keep that separation by specifying mode="elements". loader = UnstructuredMarkdownLoader(markdown_path, mode="elements") data = loader.load() data[0] Document(...
https://langchain.readthedocs.io/en/latest/modules/indexes/document_loaders/examples/markdown.html
8372402e005a-0
.ipynb .pdf CSV Contents Customizing the csv parsing and loading Specify a column to identify the document source UnstructuredCSVLoader CSV# A comma-separated values (CSV) file is a delimited text file that uses a comma to separate values. Each line of the file is a data record. Each record consists of one or more fi...
https://langchain.readthedocs.io/en/latest/modules/indexes/document_loaders/examples/csv.html
8372402e005a-1
[Document(page_content='Team: Nationals\n"Payroll (millions)": 81.34\n"Wins": 98', lookup_str='', metadata={'source': './example_data/mlb_teams_2012.csv', 'row': 0}, lookup_index=0), Document(page_content='Team: Reds\n"Payroll (millions)": 82.20\n"Wins": 97', lookup_str='', metadata={'source': './example_data/mlb_teams...
https://langchain.readthedocs.io/en/latest/modules/indexes/document_loaders/examples/csv.html
8372402e005a-2
'row': 17}, lookup_index=0), Document(page_content='Team: Padres\n"Payroll (millions)": 55.24\n"Wins": 76', lookup_str='', metadata={'source': './example_data/mlb_teams_2012.csv', 'row': 18}, lookup_index=0), Document(page_content='Team: Mariners\n"Payroll (millions)": 81.97\n"Wins": 75', lookup_str='', metadata={'sour...
https://langchain.readthedocs.io/en/latest/modules/indexes/document_loaders/examples/csv.html
8372402e005a-3
Customizing the csv parsing and loading# See the csv module documentation for more information of what csv args are supported. loader = CSVLoader(file_path='./example_data/mlb_teams_2012.csv', csv_args={ 'delimiter': ',', 'quotechar': '"', 'fieldnames': ['MLB Team', 'Payroll in millions', 'Wins'] }) data = ...
https://langchain.readthedocs.io/en/latest/modules/indexes/document_loaders/examples/csv.html
8372402e005a-4
[Document(page_content='MLB Team: Team\nPayroll in millions: "Payroll (millions)"\nWins: "Wins"', lookup_str='', metadata={'source': './example_data/mlb_teams_2012.csv', 'row': 0}, lookup_index=0), Document(page_content='MLB Team: Nationals\nPayroll in millions: 81.34\nWins: 98', lookup_str='', metadata={'source': './e...
https://langchain.readthedocs.io/en/latest/modules/indexes/document_loaders/examples/csv.html
8372402e005a-5
lookup_index=0), Document(page_content='MLB Team: Pirates\nPayroll in millions: 63.43\nWins: 79', lookup_str='', metadata={'source': './example_data/mlb_teams_2012.csv', 'row': 18}, lookup_index=0), Document(page_content='MLB Team: Padres\nPayroll in millions: 55.24\nWins: 76', lookup_str='', metadata={'source': './exa...
https://langchain.readthedocs.io/en/latest/modules/indexes/document_loaders/examples/csv.html
8372402e005a-6
Specify a column to identify the document source# Use the source_column argument to specify a source for the document created from each row. Otherwise file_path will be used as the source for all documents created from the CSV file. This is useful when using documents loaded from CSV files for chains that answer questi...
https://langchain.readthedocs.io/en/latest/modules/indexes/document_loaders/examples/csv.html
8372402e005a-7
[Document(page_content='Team: Nationals\n"Payroll (millions)": 81.34\n"Wins": 98', lookup_str='', metadata={'source': 'Nationals', 'row': 0}, lookup_index=0), Document(page_content='Team: Reds\n"Payroll (millions)": 82.20\n"Wins": 97', lookup_str='', metadata={'source': 'Reds', 'row': 1}, lookup_index=0), Document(page...
https://langchain.readthedocs.io/en/latest/modules/indexes/document_loaders/examples/csv.html
8372402e005a-8
93.35\n"Wins": 74', lookup_str='', metadata={'source': 'Mets', 'row': 20}, lookup_index=0), Document(page_content='Team: Blue Jays\n"Payroll (millions)": 75.48\n"Wins": 73', lookup_str='', metadata={'source': 'Blue Jays', 'row': 21}, lookup_index=0), Document(page_content='Team: Royals\n"Payroll (millions)": 60.91\n"Wi...
https://langchain.readthedocs.io/en/latest/modules/indexes/document_loaders/examples/csv.html
8372402e005a-9
UnstructuredCSVLoader# You can also load the table using the UnstructuredCSVLoader. One advantage of using UnstructuredCSVLoader is that if you use it in "elements" mode, an HTML representation of the table will be available in the metadata. from langchain.document_loaders.csv_loader import UnstructuredCSVLoader loader...
https://langchain.readthedocs.io/en/latest/modules/indexes/document_loaders/examples/csv.html
8372402e005a-10
<td>75.48</td> <td>73</td> </tr> <tr> <td>Royals</td> <td>60.91</td> <td>72</td> </tr> <tr> <td>Marlins</td> <td>118.07</td> <td>69</td> </tr> <tr> <td>Red Sox</td> <td>173.18</td> <td>69</td> </tr> <tr> <td>Indians</td> ...
https://langchain.readthedocs.io/en/latest/modules/indexes/document_loaders/examples/csv.html
50aaf74f6e98-0
.ipynb .pdf Google Cloud Storage Directory Contents Specifying a prefix Google Cloud Storage Directory# Google Cloud Storage is 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-storage from lang...
https://langchain.readthedocs.io/en/latest/modules/indexes/document_loaders/examples/google_cloud_storage_directory.html
23f7bae3755b-0
.ipynb .pdf College Confidential College Confidential# College Confidential gives information on 3,800+ colleges and universities. This covers how to load College Confidential webpages into a document format that we can use downstream. from langchain.document_loaders import CollegeConfidentialLoader loader = CollegeCon...
https://langchain.readthedocs.io/en/latest/modules/indexes/document_loaders/examples/college_confidential.html
23f7bae3755b-1
[Document(page_content='\n\n\n\n\n\n\n\nA68FEB02-9D19-447C-B8BC-818149FD6EAF\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n Media (2)\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nE45B8B13-33D4-450E-B7DB-F66EFE8F2097\n\n\n\n\n\n\n\n\n\nE45B8B13-33D4-450E-B7DB-F66EFE8F2097\n\n\n\n\n\n\n\n\n\n\n\n\n\...
https://langchain.readthedocs.io/en/latest/modules/indexes/document_loaders/examples/college_confidential.html
23f7bae3755b-2
another important factor when choose a college. Some colleges may have high tuition, but do a better job at meeting students\' financial need.\nBrown meets 100% of the demonstrated financial need for undergraduates. The average financial aid package for a full-time, first-year student is around $59,749 a year. \nThe a...
https://langchain.readthedocs.io/en/latest/modules/indexes/document_loaders/examples/college_confidential.html
23f7bae3755b-3
\n \n \n \n\n \n Check the school website \n for more information about deadlines for specific programs or special admissions programs\n \n \n\n\n\n\n\n\nBrown ACT Scores\n\n\n\n\nic_reflect\n\n\n\n\n\n\n\n\nACT Range\n\n\n ...
https://langchain.readthedocs.io/en/latest/modules/indexes/document_loaders/examples/college_confidential.html
23f7bae3755b-4
$2,466\n \n\n\n\n $2,466\n \n\n\n\n\nHousing\n\n\n\n $15,840\n \n\n\n\n $15,840\n \n\n\n\n\nBooks\n\n\n\n $1,300\n ...
https://langchain.readthedocs.io/en/latest/modules/indexes/document_loaders/examples/college_confidential.html
23f7bae3755b-5
6%\n \nIn State\n\n\n\n\n 94%\n \nOut-of-State\n\n\n\n\n\n\n\n Data Source: IPEDs and Peterson\'s Databases © 2022 Peterson\'s LLC All rights reserved\n \n', lookup_str='', metadata={'source': 'https://www.collegeconfidential.com/col...
https://langchain.readthedocs.io/en/latest/modules/indexes/document_loaders/examples/college_confidential.html
23f7bae3755b-6
previous BiliBili next Gutenberg By Harrison Chase © Copyright 2023, Harrison Chase. Last updated on Jun 08, 2023.
https://langchain.readthedocs.io/en/latest/modules/indexes/document_loaders/examples/college_confidential.html
64efb200c4fd-0
.ipynb .pdf Google BigQuery Contents Basic Usage Specifying Which Columns are Content vs Metadata Adding Source to Metadata Google BigQuery# Google BigQuery is a serverless and cost-effective enterprise data warehouse that works across clouds and scales with your data. BigQuery is a part of the Google Cloud Platform....
https://langchain.readthedocs.io/en/latest/modules/indexes/document_loaders/examples/google_bigquery.html
64efb200c4fd-1
previous Git next Google Cloud Storage Directory Contents Basic Usage Specifying Which Columns are Content vs Metadata Adding Source to Metadata By Harrison Chase © Copyright 2023, Harrison Chase. Last updated on Jun 08, 2023.
https://langchain.readthedocs.io/en/latest/modules/indexes/document_loaders/examples/google_bigquery.html
d1a326aeb381-0
.ipynb .pdf JSON Contents Using JSONLoader Extracting metadata The metadata_func Common JSON structures with jq schema JSON# JSON (JavaScript Object Notation) is an open standard file format and data interchange format that uses human-readable text to store and transmit data objects consisting of attribute–value pair...
https://langchain.readthedocs.io/en/latest/modules/indexes/document_loaders/examples/json.html
d1a326aeb381-1
Document(page_content='I thought you were selling the blue one!', metadata={'source': '/Users/avsolatorio/WBG/langchain/docs/modules/indexes/document_loaders/examples/example_data/facebook_chat.json', 'seq_num': 4}), Document(page_content='Im not interested in this bag. Im interested in the blue one!', metadata={'sour...
https://langchain.readthedocs.io/en/latest/modules/indexes/document_loaders/examples/json.html
d1a326aeb381-2
Document(page_content='Im not interested in this bag. Im interested in the blue one!', metadata={'source': '/Users/avsolatorio/WBG/langchain/docs/modules/indexes/document_loaders/examples/example_data/facebook_chat.json', 'seq_num': 5, 'sender_name': 'User 1', 'timestamp_ms': 1675595109305}), Document(page_content='He...
https://langchain.readthedocs.io/en/latest/modules/indexes/document_loaders/examples/json.html
d1a326aeb381-3
Document(page_content='I thought you were selling the blue one!', metadata={'source': 'langchain/docs/modules/indexes/document_loaders/examples/example_data/facebook_chat.json', 'seq_num': 4, 'sender_name': 'User 1', 'timestamp_ms': 1675595140251}), Document(page_content='Im not interested in this bag. Im interested i...
https://langchain.readthedocs.io/en/latest/modules/indexes/document_loaders/examples/json.html
428853de7fa9-0
.ipynb .pdf Gutenberg Gutenberg# Project Gutenberg is an online library of free eBooks. This notebook covers how to load links to Gutenberg e-books into a document format that we can use downstream. from langchain.document_loaders import GutenbergLoader loader = GutenbergLoader('https://www.gutenberg.org/cache/epub/699...
https://langchain.readthedocs.io/en/latest/modules/indexes/document_loaders/examples/gutenberg.html
affb74c53c45-0
.ipynb .pdf Azure Blob Storage File Azure Blob Storage File# Azure Files offers fully managed file shares 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 Fi...
https://langchain.readthedocs.io/en/latest/modules/indexes/document_loaders/examples/azure_blob_storage_file.html
2aff6312ac70-0
.ipynb .pdf Images Contents Using Unstructured Retain Elements Images# This covers how to load images such as JPG or PNG into a document format that we can use downstream. Using Unstructured# #!pip install pdfminer from langchain.document_loaders.image import UnstructuredImageLoader loader = UnstructuredImageLoader("...
https://langchain.readthedocs.io/en/latest/modules/indexes/document_loaders/examples/image.html
1a5c7342b9d1-0
.ipynb .pdf Iugu Iugu# Iugu is a Brazilian services and software as a service (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...
https://langchain.readthedocs.io/en/latest/modules/indexes/document_loaders/examples/iugu.html
1f19293c2853-0
.ipynb .pdf Open Document Format (ODT) Open Document Format (ODT)# The Open Document Format for Office Applications (ODF), also known as OpenDocument, is an open file format for word processing documents, spreadsheets, presentations and graphics and using ZIP-compressed XML files. It was developed with the aim of provi...
https://langchain.readthedocs.io/en/latest/modules/indexes/document_loaders/examples/odt.html
cac8492ae0d0-0
.ipynb .pdf Wikipedia Contents Installation Examples Wikipedia# Wikipedia is a multilingual free online 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 refe...
https://langchain.readthedocs.io/en/latest/modules/indexes/document_loaders/examples/wikipedia.html
7abe9720b8be-0
.ipynb .pdf Google Cloud Storage File Google Cloud Storage File# Google Cloud Storage is a managed service for storing unstructured data. This covers how to load document objects from an Google Cloud Storage (GCS) file object (blob). # !pip install google-cloud-storage from langchain.document_loaders import GCSFileLoad...
https://langchain.readthedocs.io/en/latest/modules/indexes/document_loaders/examples/google_cloud_storage_file.html
10e1f4575493-0
.ipynb .pdf TOML TOML# TOML is a file format for configuration files. 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” ...
https://langchain.readthedocs.io/en/latest/modules/indexes/document_loaders/examples/toml.html
05a1e39afe14-0
.ipynb .pdf MediaWikiDump MediaWikiDump# MediaWiki XML Dumps contain the content of a wiki (wiki pages with all their revisions), without the site-related data. A XML dump does not create a full backup of the wiki database, the dump does not contain user accounts, images, edit logs, etc. This covers how to load a Media...
https://langchain.readthedocs.io/en/latest/modules/indexes/document_loaders/examples/mediawikidump.html
05a1e39afe14-1
Document(page_content='\t\n\t\t \n\t\n\t\t Aliases\n\t Relatives\n\t Affiliation\n Occupation\n \n Biographical information\n Marital status\n \tDate of birth\n Place of birth\n Date of death\n Place of death\n \n Physical description\n ...
https://langchain.readthedocs.io/en/latest/modules/indexes/document_loaders/examples/mediawikidump.html
4fa6842238a4-0
.ipynb .pdf Hacker News Hacker News# Hacker News (sometimes abbreviated as HN) is a social news website focusing on computer science and entrepreneurship. It is run by the investment fund and startup incubator Y Combinator. In general, content that can be submitted is defined as “anything that gratifies one’s intellect...
https://langchain.readthedocs.io/en/latest/modules/indexes/document_loaders/examples/hacker_news.html
8353af48ed83-0
.ipynb .pdf ChatGPT Data ChatGPT 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 -> C...
https://langchain.readthedocs.io/en/latest/modules/indexes/document_loaders/examples/chatgpt_loader.html
fa2c257295d0-0
.ipynb .pdf Image captions Contents Prepare a list of image urls from Wikimedia Create the loader Create the index Query Image captions# By default, the loader utilizes the pre-trained Salesforce BLIP image captioning model. This notebook shows how to use the ImageCaptionLoader to generate a query-able index of image...
https://langchain.readthedocs.io/en/latest/modules/indexes/document_loaders/examples/image_captions.html
fa2c257295d0-1
Document(page_content='an image of a painting of a battle scene [SEP]', metadata={'image_path': 'https://upload.wikimedia.org/wikipedia/commons/thumb/2/21/Thure_de_Thulstrup_-_Battle_of_Shiloh.jpg/251px-Thure_de_Thulstrup_-_Battle_of_Shiloh.jpg'}), Document(page_content='an image of a passion fruit and a half cut pass...
https://langchain.readthedocs.io/en/latest/modules/indexes/document_loaders/examples/image_captions.html
f98d2d03fced-0
.ipynb .pdf Microsoft OneDrive Contents Prerequisites 🧑 Instructions for ingesting your documents from OneDrive 🔑 Authentication 🗂️ Documents loader 📑 Loading documents from a OneDrive Directory 📑 Loading documents from a list of Documents IDs Microsoft OneDrive# Microsoft OneDrive (formerly SkyDrive) is a file ...
https://langchain.readthedocs.io/en/latest/modules/indexes/document_loaders/examples/microsoft_onedrive.html
f98d2d03fced-1
documents = loader.load() previous Joplin next Modern Treasury Contents Prerequisites 🧑 Instructions for ingesting your documents from OneDrive 🔑 Authentication 🗂️ Documents loader 📑 Loading documents from a OneDrive Directory 📑 Loading documents from a list of Documents IDs By Harrison Chase © Copy...
https://langchain.readthedocs.io/en/latest/modules/indexes/document_loaders/examples/microsoft_onedrive.html
c79b31477a08-0
.ipynb .pdf Sitemap Contents Filtering sitemap URLs Add custom scraping rules Local Sitemap Sitemap# Extends from the WebBaseLoader, SitemapLoader loads a sitemap from a given URL, and then scrape and load all pages in the sitemap, returning each page as a Document. The scraping is done concurrently. There are reaso...
https://langchain.readthedocs.io/en/latest/modules/indexes/document_loaders/examples/sitemap.html
c79b31477a08-1
Document(page_content='\n\n\n\n\n\nWelcome to LangChain — 🦜🔗 LangChain 0.0.123\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nSkip to main content\n\n\n\n\n\n\n\n\n\n\nCtrl+K\n\n\n\n\n\n\n\n\n\n\n\n\n🦜🔗 LangChain 0.0.123\n\n\n\nGetting Started\n\nQuickstart Guide\n\nMod...
https://langchain.readthedocs.io/en/latest/modules/indexes/document_loaders/examples/sitemap.html
c79b31477a08-2
Memory To an LLMChain\nAdding Memory to a Multi-Input Chain\nAdding Memory to an Agent\nChatGPT Clone\nConversation Agent\nConversational Memory Customization\nCustom Memory\nMultiple Memory\n\n\n\n\nChat\nGetting Started\nKey Concepts\nHow-To Guides\nAgent\nChat Vector DB\nFew Shot Examples\nMemory\nPromptLayer ChatOp...
https://langchain.readthedocs.io/en/latest/modules/indexes/document_loaders/examples/sitemap.html
c79b31477a08-3
of integrations with other tools, and end-to-end chains for common applications.\nIndexes: Language models are often more powerful when combined with your own text data - this module covers best practices for doing exactly that.\nAgents: Agents involve an LLM making decisions about which Actions to take, taking that Ac...
https://langchain.readthedocs.io/en/latest/modules/indexes/document_loaders/examples/sitemap.html
c79b31477a08-4
lookup_str='', metadata={'source': 'https://python.langchain.com/en/stable/', 'loc': 'https://python.langchain.com/en/stable/', 'lastmod': '2023-03-24T19:30:54.647430+00:00', 'changefreq': 'weekly', 'priority': '1'}, lookup_index=0)
https://langchain.readthedocs.io/en/latest/modules/indexes/document_loaders/examples/sitemap.html
c79b31477a08-5
Filtering sitemap URLs# Sitemaps can be massive files, with thousands of URLs. Often you don’t need every single one of them. You can filter the URLs by passing a list of strings or regex patterns to the url_filter parameter. Only URLs that match one of the patterns will be loaded. loader = SitemapLoader( "https...
https://langchain.readthedocs.io/en/latest/modules/indexes/document_loaders/examples/sitemap.html
c79b31477a08-6
Document(page_content='\n\n\n\n\n\nWelcome to LangChain — 🦜🔗 LangChain 0.0.123\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nSkip to main content\n\n\n\n\n\n\n\n\n\n\nCtrl+K\n\n\n\n\n\n\n\n\n\n\n\n\n🦜🔗 LangChain 0.0.123\n\n\n\nGetting Started\n\nQuickstart Guide\n\nMod...
https://langchain.readthedocs.io/en/latest/modules/indexes/document_loaders/examples/sitemap.html
c79b31477a08-7
Index\nGraph QA\nHypothetical Document Embeddings\nQuestion Answering with Sources\nQuestion Answering\nSummarization\nRetrieval Question/Answering\nRetrieval Question Answering with Sources\nVector DB Text Generation\nAPI Chains\nSelf-Critique Chain with Constitutional AI\nBashChain\nLLMCheckerChain\nLLM Math\nLLMRequ...
https://langchain.readthedocs.io/en/latest/modules/indexes/document_loaders/examples/sitemap.html
c79b31477a08-8
in increasing order of complexity:\n\nModels: The various model types and model integrations LangChain supports.\nPrompts: This includes prompt management, prompt optimization, and prompt serialization.\nMemory: Memory is the concept of persisting state between calls of a chain/agent. LangChain provides a standard inte...
https://langchain.readthedocs.io/en/latest/modules/indexes/document_loaders/examples/sitemap.html
c79b31477a08-9
'loc': 'https://python.langchain.com/en/latest/', 'lastmod': '2023-03-27T22:50:49.790324+00:00', 'changefreq': 'daily', 'priority': '0.9'}, lookup_index=0)
https://langchain.readthedocs.io/en/latest/modules/indexes/document_loaders/examples/sitemap.html
c79b31477a08-10
Add custom scraping rules# The SitemapLoader uses beautifulsoup4 for the scraping process, and it scrapes every element on the page by default. The SitemapLoader constructor accepts a custom scraping function. This feature can be helpful to tailor the scraping process to your specific needs; for example, you might want...
https://langchain.readthedocs.io/en/latest/modules/indexes/document_loaders/examples/sitemap.html
9c02488f8f4e-0
.ipynb .pdf iFixit Contents Searching iFixit using /suggest iFixit# iFixit is the largest, open repair community on the web. The site contains nearly 100k repair manuals, 200k Questions & Answers on 42k devices, and all the data is licensed under CC-BY-NC-SA 3.0. This loader will allow you to download the text of a r...
https://langchain.readthedocs.io/en/latest/modules/indexes/document_loaders/examples/ifixit.html
9c02488f8f4e-1
[Document(page_content='# My iPhone 6 is typing and opening apps by itself\nmy iphone 6 is typing and opening apps by itself. How do i fix this. I just bought it last week.\nI restored as manufactures cleaned up the screen\nthe problem continues\n\n## 27 Answers\n\nFilter by: \n\nMost Helpful\nNewest\nOldest\n\n### Acc...
https://langchain.readthedocs.io/en/latest/modules/indexes/document_loaders/examples/ifixit.html
9c02488f8f4e-2
iPhone 6s Plus for 1000 from at&t. Before I touched it, I purchased a otter defender case. I read where at&t said touch desease was due to dropping! Bullshit!! I am 56 I have never dropped it!! Looks brand new! Never dropped or abused any way! I have my original charger. I am going to clean it and try everyone’s...
https://langchain.readthedocs.io/en/latest/modules/indexes/document_loaders/examples/ifixit.html
9c02488f8f4e-3
called someone on FaceTime twice by itself when I was not in the room…..I thought the phone was toast and i’d have to buy a new one took me a while to figure out but it was the extra cheap block plug I bought at a dollar store for convenience of an extra charging station when I move around the house from den to living ...
https://langchain.readthedocs.io/en/latest/modules/indexes/document_loaders/examples/ifixit.html
9c02488f8f4e-4
the phone - problem solved. Been working now for two days.', lookup_str='', metadata={'source': 'https://www.ifixit.com/Answers/View/318583/My+iPhone+6+is+typing+and+opening+apps+by+itself', 'title': 'My iPhone 6 is typing and opening apps by itself'}, lookup_index=0)]
https://langchain.readthedocs.io/en/latest/modules/indexes/document_loaders/examples/ifixit.html
9c02488f8f4e-5
loader = IFixitLoader("https://www.ifixit.com/Device/Standard_iPad") data = loader.load() data [Document(page_content="Standard iPad\nThe standard edition of the tablet computer made by Apple.\n== Background Information ==\n\nOriginally introduced in January 2010, the iPad is Apple's standard edition of their tablet co...
https://langchain.readthedocs.io/en/latest/modules/indexes/document_loaders/examples/ifixit.html
a517188ddf1b-0
.ipynb .pdf Confluence Contents Confluence Examples Username and Password or Username and API Token (Atlassian Cloud only) Personal Access Token (Server/On-Prem only) Confluence# Confluence is a wiki collaboration platform that saves and organizes all of the project-related material. Confluence is a knowledge base th...
https://langchain.readthedocs.io/en/latest/modules/indexes/document_loaders/examples/confluence.html
d60c6a8e43be-0
.ipynb .pdf Email Contents Using Unstructured Retain Elements Using OutlookMessageLoader Email# This notebook shows how to load email (.eml) or Microsoft Outlook (.msg) files. Using Unstructured# #!pip install unstructured from langchain.document_loaders import UnstructuredEmailLoader loader = UnstructuredEmailLoader...
https://langchain.readthedocs.io/en/latest/modules/indexes/document_loaders/examples/email.html
fd9d20e2402d-0
.ipynb .pdf Blackboard Blackboard# Blackboard Learn (previously the Blackboard Learning Management System) is a web-based virtual learning environment and learning management system developed by Blackboard Inc. The software features course management, customizable open architecture, and scalable design that allows inte...
https://langchain.readthedocs.io/en/latest/modules/indexes/document_loaders/examples/blackboard.html
413647f0dc6c-0
.ipynb .pdf Subtitle Subtitle# The SubRip file format is described on the Matroska multimedia container format website as “perhaps the most basic of all subtitle formats.” SubRip (SubRip Text) files are named with the extension .srt, and contain formatted lines of plain text in groups separated by a blank line. Subtitl...
https://langchain.readthedocs.io/en/latest/modules/indexes/document_loaders/examples/subtitle.html
8aa4008ce3b1-0
.ipynb .pdf OpenAIWhisperParser OpenAIWhisperParser# This notebook goes over how to load data from an audio file, such as an mp3. We use the OpenAIWhisperParser, which will use the OpenAI Whisper API to transcribe audio to text. Note: You will need to have an OPENAI_API_KEY supplied. from langchain.document_loaders.gen...
https://langchain.readthedocs.io/en/latest/modules/indexes/document_loaders/examples/audio.html
8aa4008ce3b1-1
[Document(page_content="Hello, my name is Andrej and I've been training deep neural networks for a bit more than a decade. And in this lecture I'd like to show you what neural network training looks like under the hood. So in particular we are going to start with a blank Jupyter notebook and by the end of this lecture ...
https://langchain.readthedocs.io/en/latest/modules/indexes/document_loaders/examples/audio.html
8aa4008ce3b1-2
I just made it up, I'm just flexing about the kinds of operations that are supported by micrograd. What we actually really care about are neural networks but it turns out that neural networks are just mathematical expressions just like this one but actually slightly a bit less crazy even. Neural networks are just a mat...
https://langchain.readthedocs.io/en/latest/modules/indexes/document_loaders/examples/audio.html
8aa4008ce3b1-3
this is so x is just from negative 5 to 5 not including 5 in steps of 0.25 and we can actually call this function on this numpy array as well so we get a set of y's if we call f on x's and these y's are basically also applying the function on every one of these elements independently and we can plot this using matplotl...
https://langchain.readthedocs.io/en/latest/modules/indexes/document_loaders/examples/audio.html
8aa4008ce3b1-4
okay and at some point here of course the slope would be zero now for this specific function i looked it up previously and it's at point uh 2 over 3 so at roughly 2 over 3 that's somewhere here this this derivative would be zero so basically at that precise point yeah at that precise point if we nudge in a positive dir...
https://langchain.readthedocs.io/en/latest/modules/indexes/document_loaders/examples/audio.html
8aa4008ce3b1-5
neural networks now as i mentioned neural networks will be pretty massive expressions mathematical expressions so we need some data structures that maintain these expressions and that's what we're going to start to build out now so we're going to build out this value object that i showed you in the readme page of micro...
https://langchain.readthedocs.io/en/latest/modules/indexes/document_loaders/examples/audio.html
8aa4008ce3b1-6
previous Document Loaders next CoNLL-U By Harrison Chase © Copyright 2023, Harrison Chase. Last updated on Jun 08, 2023.
https://langchain.readthedocs.io/en/latest/modules/indexes/document_loaders/examples/audio.html
981d62056750-0
.ipynb .pdf Microsoft Word Contents Using Docx2txt Using Unstructured Retain Elements Microsoft Word# Microsoft Word is a word processor developed by Microsoft. This covers how to load Word documents into a document format that we can use downstream. Using Docx2txt# Load .docx using Docx2txt into a document. !pip ins...
https://langchain.readthedocs.io/en/latest/modules/indexes/document_loaders/examples/microsoft_word.html
214c45e4ab78-0
.ipynb .pdf DuckDB Contents Specifying Which Columns are Content vs Metadata Adding Source to Metadata DuckDB# DuckDB is an in-process SQL OLAP database management system. Load a DuckDB query with one document per row. #!pip install duckdb from langchain.document_loaders import DuckDBLoader %%file example.csv Team,Pa...
https://langchain.readthedocs.io/en/latest/modules/indexes/document_loaders/examples/duckdb.html
608cc806bbe7-0
.ipynb .pdf Git Contents Load existing repository from disk Clone repository from url Filtering files to load Git# Git is a distributed version control system that tracks changes in any set of computer files, usually used for coordinating work among programmers collaboratively developing source code during software d...
https://langchain.readthedocs.io/en/latest/modules/indexes/document_loaders/examples/git.html
09966834a4a4-0
.ipynb .pdf Notion DB 1/2 Contents 🧑 Instructions for ingesting your own dataset Notion DB 1/2# Notion 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 tas...
https://langchain.readthedocs.io/en/latest/modules/indexes/document_loaders/examples/notion.html
f3d7d96e5b74-0
.ipynb .pdf Twitter Twitter# Twitter is an online social media and social networking service. This loader fetches the text from the Tweets of a list of Twitter users, using the tweepy Python package. You must initialize the loader with your Twitter API token, and you need to pass in the Twitter username you want to ext...
https://langchain.readthedocs.io/en/latest/modules/indexes/document_loaders/examples/twitter.html
f3d7d96e5b74-1
# ) documents = loader.load() documents[:5] [Document(page_content='@MrAndyNgo @REI One store after another shutting down', metadata={'created_at': 'Tue Apr 18 03:45:50 +0000 2023', 'user_info': {'id': 44196397, 'id_str': '44196397', 'name': 'Elon Musk', 'screen_name': 'elonmusk', 'location': 'A Shortfall of Gravitas',...
https://langchain.readthedocs.io/en/latest/modules/indexes/document_loaders/examples/twitter.html
f3d7d96e5b74-2
Document(page_content='@KanekoaTheGreat @joshrogin @glennbeck Large ships are fundamentally vulnerable to ballistic (hypersonic) missiles', metadata={'created_at': 'Tue Apr 18 03:43:25 +0000 2023', 'user_info': {'id': 44196397, 'id_str': '44196397', 'name': 'Elon Musk', 'screen_name': 'elonmusk', 'location': 'A Shortfa...
https://langchain.readthedocs.io/en/latest/modules/indexes/document_loaders/examples/twitter.html