id
stringlengths
14
16
text
stringlengths
36
2.73k
source
stringlengths
49
117
a71c4b517434-29
find comparisons.16hKevin PeltonWOMEN'S ELITE EIGHT SCOREBOARDMONDAY'S GAMESCheck your bracket!NBA DRAFTHow top prospects fared on the road to the Final FourThe 2023 NCAA tournament is down to four teams, and ESPN's Jonathan Givony recaps the players who saw their NBA draft stock change.11hJonathan GivonyAndy Lyons/Get...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/web_base.html
a71c4b517434-30
Texas hiring Terry as full-time coachJets GM: No rush on Rodgers; Lamar not optionLove to leave North Carolina, enter transfer portalBelichick to angsty Pats fans: See last 25 yearsEmbiid out, Harden due back vs. Jokic, NuggetsLynch: Purdy 'earned the right' to start for NinersMan Utd, Wrexham plan July friendly in San...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/web_base.html
a71c4b517434-31
can follow throughout the Big Dance. Women's Tournament ChallengeIllustration by ESPNWomen's Tournament ChallengeCheck your bracket(s) in the 2023 Women's Tournament Challenge, which you can follow throughout the Big Dance. Best of ESPN+AP Photo/Lynne SladkyFantasy Baseball ESPN+ Cheat Sheet: Sleepers, busts, rookies a...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/web_base.html
a71c4b517434-32
predictionsMel Kiper Jr. makes his predictions for Round 1 of the NFL draft, including projecting a trade in the top five. Trending NowAnne-Marie Sorvin-USA TODAY SBoston Bruins record tracker: Wins, points, milestonesThe B's are on pace for NHL records in wins and points, along with some individual superlatives as wel...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/web_base.html
a71c4b517434-33
on ESPN, ESPN+Here's everything you need to know about how to watch the PGA Tour, Masters, PGA Championship and FedEx Cup playoffs on ESPN and ESPN+.Hailie Lynch/XFLHow to watch the XFL: 2023 schedule, teams, players, news, moreEvery XFL game will be streamed on ESPN+. Find out when and where else you can watch the eig...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/web_base.html
a71c4b517434-34
Baseball\n\n\n\n\n\n\n\nNCAA Softball\n\n\n\n\n\n\n\nCricket: Select Matches\n\n\n\n\n\n\n\nMel Kiper's NFL Mock Draft 3.0\n\n\nQuick Links\n\n\n\n\nMen's Tournament Challenge\n\n\n\n\n\n\n\nWomen's Tournament Challenge\n\n\n\n\n\n\n\nNFL Draft Order\n\n\n\n\n\n\n\nHow To Watch NHL Games\n\n\n\n\n\n\n\nFantasy Baseball...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/web_base.html
a71c4b517434-35
ESPNCopyright: ยฉ ESPN Enterprises, Inc. All rights reserved.\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n", lookup_str='', metadata={'source': 'https://www.espn.com/'}, lookup_index=0),
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/web_base.html
a71c4b517434-36
Document(page_content='GoogleSearch Images Maps Play YouTube News Gmail Drive More ยปWeb History | Settings | Sign in\xa0Advanced searchAdvertisingBusiness SolutionsAbout Googleยฉ 2023 - Privacy - Terms ', lookup_str='', metadata={'source': 'https://google.com'}, lookup_index=0)] Loading a xml file, or using a differen...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/web_base.html
a71c4b517434-37
[Document(page_content='\n\n10\nEnergy\n3\n2018-01-01\n2018-01-01\nfalse\nUniform test method for the measurement of energy efficiency of commercial packaged boilers.\nร‚ยง 431.86\nSection ร‚ยง 431.86\n\nEnergy\nDEPARTMENT OF ENERGY\nENERGY CONSERVATION\nENERGY EFFICIENCY PROGRAM FOR CERTAIN COMMERCIAL AND INDUSTRIAL EQUIP...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/web_base.html
a71c4b517434-38
rated inputBtu/h\n\nStandards efficiency metric(ยง\u2009431.87)\n\nTest procedure(corresponding to\nstandards efficiency\nmetric required\nby ยง\u2009431.87)\n\n\n\nHot Water\nGas-fired\nโ‰ฅ300,000 and โ‰ค2,500,000\nThermal Efficiency\nAppendix A, Section 2.\n\n\nHot Water\nGas-fired\n>2,500,000\nCombustion Efficiency\nAppen...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/web_base.html
a71c4b517434-39
Efficiency\nAppendix A, Section 2.\n\n\nSteam\nOil-fired\n>2,500,000 and โ‰ค5,000,000\nThermal Efficiency\nAppendix A, Section 2.\n\n\n\u2003\n\n>5,000,000\nThermal Efficiency\nAppendix A, Section 2.OR\nAppendix A, Section 3. with Section 2.4.3.2.\n\n\n\n*\u2009Equipment classes for commercial packaged boilers as of July...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/web_base.html
a71c4b517434-40
previous URL next Weather Contents Loading multiple webpages Load multiple urls concurrently Loading a xml file, or using a different BeautifulSoup parser By Harrison Chase ยฉ Copyright 2023, Harrison Chase. Last updated on May 28, 2023.
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/web_base.html
c2012637a7b9-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://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/wikipedia.html
b9ebaf20efea-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://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/iugu.html
2be51feb93ea-0
.ipynb .pdf Copy Paste Contents Metadata Copy Paste# This notebook covers how to load a document 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 Document text ...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/copypaste.html
c7b8a27546a3-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://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/weather.html
16217fb4233e-0
.ipynb .pdf URL Contents URL Selenium URL Loader Setup Playwright URL Loader Setup URL# This covers how to load HTML documents from a list of URLs into a document format that we can use downstream. from langchain.document_loaders import UnstructuredURLLoader urls = [ "https://www.understandingwar.org/backgrounde...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/url.html
16217fb4233e-1
!pip install "playwright" !pip install "unstructured" !playwright install from langchain.document_loaders import PlaywrightURLLoader urls = [ "https://www.youtube.com/watch?v=dQw4w9WgXcQ", "https://goo.gl/maps/NDSHwePEyaHMFGwh8" ] loader = PlaywrightURLLoader(urls=urls, remove_selectors=["header", "footer"]) da...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/url.html
42f8e7bed564-0
.ipynb .pdf IMSDb IMSDb# IMSDb is the Internet Movie Script Database. This covers how to load IMSDb webpages into a document format that we can use downstream. from langchain.document_loaders import IMSDbLoader loader = IMSDbLoader("https://imsdb.com/scripts/BlacKkKlansman.html") data = loader.load() data[0].page_conte...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/imsdb.html
62fb28068e37-0
.ipynb .pdf File Directory Contents Show a progress bar Use multithreading Change loader class Auto detect file encodings with TextLoader A. Default Behavior B. Silent fail C. Auto detect encodings File Directory# This covers how to use the DirectoryLoader to load all documents in a directory. Under the hood, by defa...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/file_directory.html
62fb28068e37-1
docs = loader.load() len(docs) 1 If you need to load Python source code files, use the PythonLoader. from langchain.document_loaders import PythonLoader loader = DirectoryLoader('../../../../../', glob="**/*.py", loader_cls=PythonLoader) docs = loader.load() len(docs) 691 Auto detect file encodings with TextLoader# In ...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/file_directory.html
62fb28068e37-2
โ”‚ โ”‚ โ”‚ 319 โ”‚ def decode(self, input, final=False): โ”‚ โ”‚ 320 โ”‚ โ”‚ # decode input (taking the buffer into account) โ”‚ โ”‚ 321 โ”‚ โ”‚ ...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/file_directory.html
62fb28068e37-3
โ”‚ 85 โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ finally: โ”‚ โ”‚ 86 โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ if pbar: โ”‚ โ”‚ 87 โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ pbar.update(1) โ”‚ โ”‚ ...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/file_directory.html
62fb28068e37-4
โ”‚ 45 โ”‚ โ”‚ โ”‚ except Exception as e: โ”‚ โ”‚ 46 โ”‚ โ”‚ โ”‚ โ”‚ raise RuntimeError(f"Error loading {self.file_path}") from e โ”‚ โ”‚ 47 โ”‚ โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/file_directory.html
62fb28068e37-5
'../../../../../tests/integration_tests/examples/whatsapp_chat.txt', '../../../../../tests/integration_tests/examples/example-utf8.txt'] previous Facebook Chat next HTML Contents Show a progress bar Use multithreading Change loader class Auto detect file encodings with TextLoader A. Default Behavior B. Silent fail...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/file_directory.html
d4cd68d71a8e-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://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/google_drive.html
d4cd68d71a8e-1
from langchain.document_loaders import GoogleDriveLoader loader = GoogleDriveLoader( folder_id="1yucgL9WGgWZdM1TOuKkeghlPizuzMYb5", # Optional: configure whether to recursively fetch files from subfolders. Defaults to False. recursive=False ) docs = loader.load() When you pass a folder_id by default all fil...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/google_drive.html
a11635243b34-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://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/pdf.html
a11635243b34-1
Document(page_content='LayoutParser : A Uni\x0ced Toolkit for Deep\nLearning Based Document Image Analysis\nZejiang Shen1( \x00), Ruochen Zhang2, Melissa Dell3, Benjamin Charles Germain\nLee4, Jacob Carlson3, and Weining Li5\n1Allen Institute for AI\nshannons@allenai.org\n2Brown University\nruochen zhang@brown.edu\n3Ha...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/pdf.html
a11635243b34-2
processing and computer\nvision, none of them are optimized for challenges in the domain of DIA.\nThis represents a major gap in the existing toolkit, as DIA is central to\nacademic research across a wide range of disciplines in the social sciences\nand humanities. This paper introduces LayoutParser , an open-source\nl...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/pdf.html
a11635243b34-3
Learning(DL)-based approaches are the state-of-the-art for a wide range of\ndocument image analysis (DIA) tasks including document image classi\x0ccation [ 11,arXiv:2103.15348v2 [cs.CV] 21 Jun 2021', metadata={'source': 'example_data/layout-parser-paper.pdf', 'page': 0})
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/pdf.html
a11635243b34-4
An advantage of this approach is that documents can be retrieved with page numbers. We want to use OpenAIEmbeddings so we have to get the OpenAI API Key. import os import getpass os.environ['OPENAI_API_KEY'] = getpass.getpass('OpenAI API Key:') OpenAI API Key: ยทยทยทยทยทยทยทยท from langchain.vectorstores import FAISS from lang...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/pdf.html
a11635243b34-5
loader = MathpixPDFLoader("example_data/layout-parser-paper.pdf") data = loader.load() Using Unstructured# from langchain.document_loaders import UnstructuredPDFLoader loader = UnstructuredPDFLoader("example_data/layout-parser-paper.pdf") data = loader.load() Retain Elements# Under the hood, Unstructured creates differ...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/pdf.html
a11635243b34-6
Document(page_content='LayoutParser: A Uni๏ฌed Toolkit for Deep\nLearning Based Document Image Analysis\nZejiang Shen1 (๏ฟฝ), Ruochen Zhang2, Melissa Dell3, Benjamin Charles Germain\nLee4, Jacob Carlson3, and Weining Li5\n1 Allen Institute for AI\nshannons@allenai.org\n2 Brown University\nruochen zhang@brown.edu\n3 Harvar...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/pdf.html
a11635243b34-7
processing and computer\nvision, none of them are optimized for challenges in the domain of DIA.\nThis represents a major gap in the existing toolkit, as DIA is central to\nacademic research across a wide range of disciplines in the social sciences\nand humanities. This paper introduces LayoutParser, an open-source\nli...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/pdf.html
a11635243b34-8
Learning(DL)-based approaches are the state-of-the-art for a wide range of\ndocument image analysis (DIA) tasks including document image classi๏ฌcation [11,\narXiv:2103.15348v2 [cs.CV] 21 Jun 2021\n', lookup_str='', metadata={'file_path': 'example_data/layout-parser-paper.pdf', 'page_number': 1, 'total_pages': 16, 'fo...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/pdf.html
a11635243b34-9
Fetching remote PDFs using Unstructured# This covers how to load online pdfs into a document format that we can use downstream. This can be used for various online pdf sites such as https://open.umn.edu/opentextbooks/textbooks/ and https://arxiv.org/archive/ Note: all other pdf loaders can also be used to fetch remote ...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/pdf.html
a11635243b34-10
[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ยดฤฑ๏ฌca,\n\nIn [3] we proved that, under suitable conditions, on a very general codimension s quasi- smooth intersection subvariety X in a projectiv...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/pdf.html
a11635243b34-11
theorem for projective orbifolds ([11]). When p = d + 1 โˆ’ s the proof relies on the Cayley trick, a trick which associates to X a quasi-smooth hypersurface Y in a projective vector bundle, and the Cayley Proposition (4.3) which gives an isomorphism of some primitive cohomologies (4.2) of X and Y . The Cayley trick, fol...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/pdf.html
a11635243b34-12
N โŠ— Z R .\n\nif there exist k linearly independent primitive elements e\n\n, . . . , e k โˆˆ N such that ฯƒ = { ยต\n\ne\n\n+ โ‹ฏ + ยต k e k } . โ€ข The generators e i are integral if for every i and any nonnegative rational number ยต the product ยตe i is in N only if ยต is an integer. โ€ข Given two rational simplicial cones ฯƒ , ฯƒ โ€ฒ ...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/pdf.html
a11635243b34-13
< ฯƒ and ฯƒ โˆฉ ฯƒ โ€ฒ < ฯƒ โ€ฒ ;\n\nN R = ฯƒ\n\nโˆช โ‹… โ‹… โ‹… โˆช ฯƒ t .\n\nA rational simplicial complete d -dimensional fan ฮฃ de๏ฌnes a d -dimensional toric variety P d ฮฃ having only orbifold singularities which we assume to be projective. Moreover, T โˆถ = N โŠ— Z C โˆ— โ‰ƒ ( C โˆ— ) d is the torus action on P d ฮฃ . We denote by ฮฃ ( i ) the i -d...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/pdf.html
a11635243b34-14
locus Z ( ฮฃ ) โˆถ = V ( B ฮฃ ) in the a๏ฌƒne space A d โˆถ = Spec ( S ) is the irrelevant locus.\n\nProposition 2.3 (Theorem 5.1.11 [5]) . 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 ...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/pdf.html
a11635243b34-15
A di๏ฌ€erential form on a complex orbifold Z is de๏ฌned locally at z โˆˆ Z as a G -invariant di๏ฌ€erential form on C d where G โŠ‚ Gl ( d, C ) and Z is locally isomorphic to d\n\nRoughly speaking the local geometry of orbifolds reduces to local G -invariant geometry.\n\nWe have a complex of di๏ฌ€erential forms ( A โ— ( Z ) , d ) a...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/pdf.html
a11635243b34-16
. Quasi-smooth hypersurfaces or more generally quasi-smooth intersection sub-\n\nExample 3.2 . Quasi-smooth hypersurfaces or more generally quasi-smooth intersection sub- varieties are quasi-smooth subvarieties (see [2] or [7] for more details).\n\nRemark 3.3 . Quasi-smooth subvarieties are suborbifolds of P d ฮฃ in the...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/pdf.html
a11635243b34-17
/ H 2 ( X, O X ) โ‰ƒ Dolbeault H 2 ( X, C ) deRham โ‰ƒ H 2 dR ( X, C ) / / H 0 , 2 ยฏ โˆ‚ ( X )\n\nof the proof follows as the ( 1 , 1 ) -Lefschetz theorem in [6].\n\nRemark 3.5 . For k = 1 and P d ฮฃ as the projective space, we recover the classical ( 1 , 1 ) - Lefschetz theorem.\n\nBy the Hard Lefschetz Theorem for projectiv...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/pdf.html
a11635243b34-18
If the dimension of X is 1 , 2 or 3 . The Hodge conjecture holds on X\n\nProof. If the dim C X = 1 the result is clear by the Hard Lefschetz theorem for projective orbifolds. The dimension 2 and 3 cases are covered by Theorem 3.5 and the Hard Lefschetz.\n\nCayley trick and Cayley proposition\n\nThe Cayley trick is a wa...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/pdf.html
a11635243b34-19
Cox ring, without considering the grading, of P d ฮฃ is C [ x 1 , . . . , x m ] then the Cox ring of P ( E ) is\n\nMoreover for X a quasi-smooth intersection subvariety cut o๏ฌ€ by f 1 , . . . , f s with deg ( f i ) = [ L i ] we relate the hypersurface Y cut o๏ฌ€ by F = y 1 f 1 + โ‹… โ‹… โ‹… + y s f s which turns out to be quasi-...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/pdf.html
a11635243b34-20
y ) โˆˆ Y with y โ‰  0 has a preimage. Hence for any subvariety W = V ( I W ) โŠ‚ X โŠ‚ P d ฮฃ there exists W โ€ฒ โŠ‚ Y โŠ‚ P d + s โˆ’ 1 ฮฃ ,X such that ฯ€ ( W โ€ฒ ) = W , i.e., W โ€ฒ = { z = ( x, y ) โˆฃ x โˆˆ W } .\n\nFor X โŠ‚ P d ฮฃ a quasi-smooth intersection variety the morphism in cohomology induced by the inclusion i โˆ— โˆถ H d โˆ’ s ( P d ฮฃ , ...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/pdf.html
a11635243b34-21
โˆ’ s prim ( X, Q ) with rational coe๏ฌƒcients.\n\nH d โˆ’ s ( P d ฮฃ , C ) and H d โˆ’ s ( X, C ) have pure Hodge structures, and the morphism i โˆ— is com- patible with them, so that H d โˆ’ s prim ( X ) gets a pure Hodge structure.\n\nThe next Proposition is the Cayley proposition.\n\nProposition 4.3. [Proposition 2.3 in [3] ] L...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/pdf.html
a11635243b34-22
C . See the beginning of Section 7.1 in [10] for more details.\n\nTheorem 5.1. Let Y = { F = y 1 f 1 + โ‹ฏ + y k f k = 0 } โŠ‚ P 2 k + 1 ฮฃ ,X be the quasi-smooth hypersurface associated to the quasi-smooth intersection surface X = X f 1 โˆฉ โ‹… โ‹… โ‹… โˆฉ X f k โŠ‚ P k + 2 ฮฃ . Then on Y the Hodge conjecture holds.\n\nthe Hodge conjec...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/pdf.html
a11635243b34-23
1 , . . . , ฮป C n with rational coe๏ฌƒcients of H 1 , 1 prim ( X, Q ) , that is, there are n โˆถ = h 1 , 1 prim ( X, Q ) algebraic curves C 1 , . . . , C n in X such that under the Poincarยดe duality the class in homology [ C i ] goes to ฮป C i , [ C i ] โ†ฆ ฮป C i . Recall that the Cox ring of P k + 2 is contained in the Cox r...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/pdf.html
a11635243b34-24
degree. Moreover, by Remark 4.1 each C i is contained in Y = { F = y 1 f 1 + โ‹ฏ + y k f k = 0 } and\n\nfurthermore it has codimension k .\n\nClaim: { C i } ni = 1 is a basis of prim ( ) . It is enough to prove that ฮป C i is di๏ฌ€erent from zero in H k,k prim ( Y, Q ) or equivalently that the cohomology classes { ฮป C i } n...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/pdf.html
a11635243b34-25
,X such that V โˆฉ Y = C j so they are equal as a homology class of P 2 k + 1 ฮฃ ,X ,i.e., [ V โˆฉ Y ] = [ C j ] . It is easy to check that ฯ€ ( V ) โˆฉ X = C j as a subvariety of P k + 2 ฮฃ where ฯ€ โˆถ ( x, y ) โ†ฆ x . Hence [ ฯ€ ( V ) โˆฉ X ] = [ C j ] which is equivalent to say that ฮป C j comes from P k + 2 ฮฃ which contradicts the ...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/pdf.html
a11635243b34-26
0 } โŠ‚ P 2 k + 1 ฮฃ ,X be the quasi-smooth hypersurface associated to a quasi-smooth intersection subvariety X = X f 1 โˆฉ โ‹… โ‹… โ‹… โˆฉ X f s โŠ‚ P d ฮฃ such that d + s = 2 ( k + 1 ) . If the Hodge conjecture holds on X then it holds as well on Y .\n\nCorollary 5.4. If the dimension of Y is 2 s โˆ’ 1 , 2 s or 2 s + 1 then the Hodge ...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/pdf.html
a11635243b34-27
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 Schenck, H. Toric ...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/pdf.html
a11635243b34-28
Steenbrink, J. H. M. Intersection form for quasi-homogeneous singularities. Com- positio Mathematica\n\n,\n\n(\n\n),\n\nโ€“\n\n[\n\n] Voisin, C. Hodge Theory and Complex Algebraic Geometry I, vol.\n\nof Cambridge Studies in Advanced Mathematics . Cambridge University Press,\n\n[\n\n] Wang, Z. Z., and Zaffran, D. A remark...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/pdf.html
a11635243b34-29
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 (2021).\n\nA. R. Cohomology of complete intersections in toric varieties. Pub-', lookup_str='', metadata={'source': '/var/folders/ph/hhm7...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/pdf.html
a11635243b34-30
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://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/pdf.html
a11635243b34-31
cur_text = c.text snippets.append((cur_text,cur_fs)) # Note: The above logic is very straightforward. One can also add more strategies such as removing duplicate snippets (as # headers/footers in a PDF appear on multiple pages so if we find duplicatess safe to assume that it is redundant info) from langchain.docstore.d...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/pdf.html
a11635243b34-32
# section (e.g. title of a pdf will have the highest font size but we don't want it to subsume all sections) metadata={'heading':s[0], 'content_font': 0, 'heading_font': s[1]} metadata.update(data.metadata) semantic_snippets.append(Document(page_content='',metadata=metadata)) cur_idx += 1 semantic_snipp...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/pdf.html
a11635243b34-33
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 Mask R-CNN [12] are used for identif...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/pdf.html
a11635243b34-34
by Neudecker et al. [21], it is designed for\nanalyzing historical documents, and provides no supports for recent DL models.\nThe DocumentLayoutAnalysis project8 focuses on processing born-digital PDF\ndocuments via analyzing the stored PDF data. Repositories like DeepLayout9\nand Detectron2-PubLayNet10 are individual ...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/pdf.html
a11635243b34-35
type as โ€˜codeโ€™.\n7 https://ocr-d.de/en/about\n8 https://github.com/BobLd/DocumentLayoutAnalysis\n9 https://github.com/leonlulu/DeepLayout\n10 https://github.com/hpanwar08/detectron2\n11 https://github.com/JaidedAI/EasyOCR\n12 https://github.com/PaddlePaddle/PaddleOCR\n4\nZ. Shen et al.\nFig. 1: The overall architecture...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/pdf.html
a11635243b34-36
and deploying models for general computer\nvision and natural language processing problems. LayoutParser, on the other\nhand, specializes speci๏ฌcally in DIA tasks. LayoutParser is also equipped with a\ncommunity platform inspired by established model hubs such as Torch Hub [23]\nand TensorFlow Hub [1]. It enables the s...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/pdf.html
a11635243b34-37
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]
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/pdf.html
a11635243b34-38
Document(page_content='LayoutParser: A Uni๏ฌed Toolkit for Deep\nLearning Based Document Image Analysis\nZejiang Shen1 (๏ฟฝ), Ruochen Zhang2, Melissa Dell3, Benjamin Charles Germain\nLee4, Jacob Carlson3, and Weining Li5\n1 Allen Institute for AI\nshannons@allenai.org\n2 Brown University\nruochen zhang@brown.edu\n3 Harvar...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/pdf.html
a11635243b34-39
processing and computer\nvision, none of them are optimized for challenges in the domain of DIA.\nThis represents a major gap in the existing toolkit, as DIA is central to\nacademic research across a wide range of disciplines in the social sciences\nand humanities. This paper introduces LayoutParser, an open-source\nli...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/pdf.html
a11635243b34-40
Learning(DL)-based approaches are the state-of-the-art for a wide range of\ndocument image analysis (DIA) tasks including document image classi๏ฌcation [11,\narXiv:2103.15348v2 [cs.CV] 21 Jun 2021\n', lookup_str='', metadata={'file_path': 'example_data/layout-parser-paper.pdf', 'page_number': 1, 'total_pages': 16, 'fo...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/pdf.html
a11635243b34-41
Additionally, you can pass along any of the options from the PyMuPDF documentation as keyword arguments in the load call, and it will be pass along to the get_text() call. PyPDF Directory# Load PDFs from directory from langchain.document_loaders import PyPDFDirectoryLoader loader = PyPDFDirectoryLoader("example_data/")...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/pdf.html
a11635243b34-42
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 University\nruochen zhang@brown.e...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/pdf.html
a11635243b34-43
of them are optimized for challenges in the domain of DIA.\nThis represents a major gap in the existing toolkit, as DIA is central to\nacademicresearchacross awiderangeof disciplinesinthesocialsciences\nand humanities. This paper introduces LayoutParser, an open-source\nlibrary for streamlining the usage of DL in DIA r...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/pdf.html
a11635243b34-44
metadata={'source': 'example_data/layout-parser-paper.pdf', 'file_path': 'example_data/layout-parser-paper.pdf', 'page': 1, 'total_pages': 16, 'Author': '', 'CreationDate': 'D:20210622012710Z', 'Creator': 'LaTeX with hyperref', 'Keywords': '', 'ModDate': 'D:20210622012710Z', 'PTEX.Fullbanner': 'This is pdfTeX, Version ...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/pdf.html
a11635243b34-45
previous Pandas DataFrame next Sitemap 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 By Harrison Chase ยฉ Copyright 2023, Harri...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/pdf.html
c472c00c7dc0-0
.ipynb .pdf Telegram Telegram# Telegram Messenger is a globally accessible freemium, cross-platform, encrypted, cloud-based and centralized instant messaging service. The application also provides optional end-to-end encrypted chats and video calling, VoIP, file sharing and several other features. This notebook covers ...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/telegram.html
e6431cf60741-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. from lan...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/microsoft_word.html
fbf4c7bfd79a-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://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/duckdb.html
fbf4c7bfd79a-1
previous Docugami next Figma Contents Specifying Which Columns are Content vs Metadata Adding Source to Metadata By Harrison Chase ยฉ Copyright 2023, Harrison Chase. Last updated on May 28, 2023.
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/duckdb.html
907c1c8dfb65-0
.ipynb .pdf AWS S3 Directory Contents Specifying a prefix AWS S3 Directory# Amazon Simple Storage Service (Amazon S3) is an object storage service AWS S3 Directory This covers how to load document objects from an AWS S3 Directory object. #!pip install boto3 from langchain.document_loaders import S3DirectoryLoader loa...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/aws_s3_directory.html
214eb88f026e-0
.ipynb .pdf Obsidian Obsidian# Obsidian is a powerful and extensible knowledge base that works on top of your local folder of plain text files. This notebook covers how to load documents from an Obsidian database. Since Obsidian is just stored on disk as a folder of Markdown files, the loader just takes a path to this ...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/obsidian.html
f618ddfc9366-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://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/readthedocs_documentation.html
bae1125e33d5-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://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/toml.html
bae9dec5a516-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://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/blackboard.html
3fae15f88608-0
.ipynb .pdf Docugami Contents Prerequisites Load Documents Basic Use: Docugami Loader for Document QA Using Docugami to Add Metadata to Chunks for High Accuracy Document QA Docugami# This notebook covers how to load documents from Docugami. See here for more details, and the advantages of using this system over alter...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/docugami.html
3fae15f88608-1
docs = loader.load() docs [Document(page_content='MUTUAL NON-DISCLOSURE AGREEMENT This Mutual Non-Disclosure Agreement (this โ€œ Agreement โ€) is entered into and made effective as of April 4 , 2018 between Docugami Inc. , a Delaware corporation , whose address is 150 Lake Street South , Suite 221 , Kirkland...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/docugami.html
3fae15f88608-2
Document(page_content='In consideration of the foregoing, the parties agree as follows:', metadata={'xpath': '/docset:MutualNon-disclosure/docset:MutualNon-disclosure/docset:MUTUALNON-DISCLOSUREAGREEMENT-section/docset:MUTUALNON-DISCLOSUREAGREEMENT/docset:Consideration/docset:Consideration', 'id': '43rj0ds7s0ur', 'name...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/docugami.html
3fae15f88608-3
Document(page_content="2. Obligations and Restrictions . Each party agrees: (i) to maintain the other party's Confidential Information in strict confidence; (ii) not to disclose such Confidential Information to any third party; and (iii) not to use such Confidential Information for any purpose except for the Pur...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/docugami.html
3fae15f88608-4
Document(page_content='3. Exceptions. The obligations and restrictions in Section 2 will not apply to any information or materials that:', metadata={'xpath': '/docset:MutualNon-disclosure/docset:MutualNon-disclosure/docset:MUTUALNON-DISCLOSUREAGREEMENT-section/docset:MUTUALNON-DISCLOSUREAGREEMENT/docset:Consideration...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/docugami.html
3fae15f88608-5
Document(page_content='(ii) were rightfully known by the receiving party prior to receiving such information or materials from the disclosing party;', metadata={'xpath': '/docset:MutualNon-disclosure/docset:MutualNon-disclosure/docset:MUTUALNON-DISCLOSUREAGREEMENT-section/docset:MUTUALNON-DISCLOSUREAGREEMENT/docset:Con...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/docugami.html
3fae15f88608-6
Document(page_content='4. Compelled Disclosure . Nothing in this Agreement will be deemed to restrict a party from disclosing the other partyโ€™s Confidential Information to the extent required by any order, subpoena, law, statute or regulation; provided, that the party required to make such a disclosure uses reasona...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/docugami.html
3fae15f88608-7
Document(page_content='5. Return of Confidential Information . Upon the completion or abandonment of the Purpose, and in any event upon the disclosing partyโ€™s request, the receiving party will promptly return to the disclosing party all tangible items and embodiments containing or consisting of the disclosing partyโ€™s...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/docugami.html
3fae15f88608-8
Document(page_content='6. No Obligations . Each party retains the right to determine whether to disclose any Confidential Information to the other party.', metadata={'xpath': '/docset:MutualNon-disclosure/docset:MutualNon-disclosure/docset:MUTUALNON-DISCLOSUREAGREEMENT-section/docset:MUTUALNON-DISCLOSUREAGREEMENT/do...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/docugami.html
3fae15f88608-9
Document(page_content='8. Term. This Agreement will remain in effect for a period of seven ( 7 ) years from the date of last disclosure of Confidential Information by either party, at which time it will terminate.', metadata={'xpath': '/docset:MutualNon-disclosure/docset:MutualNon-disclosure/docset:MUTUALNON-DIS...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/docugami.html
3fae15f88608-10
Document(page_content='10. Non-compete. To the maximum extent permitted by applicable law, during the Term of this Agreement and for a period of one ( 1 ) year thereafter, Caleb Divine may not market software products or do business that directly or indirectly competes with Docugami software products .', me...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/docugami.html
3fae15f88608-11
Document(page_content='11. Miscellaneous. This Agreement will be governed and construed in accordance with the laws of the State of Washington , excluding its body of law controlling conflict of laws. This Agreement is the complete and exclusive understanding and agreement between the parties regarding the subje...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/docugami.html
3fae15f88608-12
Document(page_content='[SIGNATURE PAGE FOLLOWS] IN WITNESS WHEREOF, the parties hereto have executed this Mutual Non-Disclosure Agreement by their duly authorized officers or representatives as of the date first set forth above.', metadata={'xpath': '/docset:MutualNon-disclosure/docset:Witness/docset:TheParties/doc...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/docugami.html
3fae15f88608-13
tag: Semantic tag for the chunk, using various generative and extractive techniques. More details here: https://github.com/docugami/DFM-benchmarks Basic Use: Docugami Loader for Document QA# You can use the Docugami Loader like a standard loader for Document QA over multiple docs, albeit with much better chunks that fo...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/docugami.html
3fae15f88608-14
) Using embedded DuckDB without persistence: data will be transient # Try out the retriever with an example query qa_chain("What can tenants do with signage on their properties?") {'query': 'What can tenants do with signage on their properties?', 'result': ' Tenants may place signs (digital or otherwise) or other form...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/docugami.html
3fae15f88608-15
'source_documents': [Document(page_content='ARTICLE VI SIGNAGE 6.01 Signage . Tenant may place or attach to the Premises signs (digital or otherwise) or other such identification as needed after receiving written permission from the Landlord , which permission shall not be unreasonably withheld. Any damage caused...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/docugami.html
3fae15f88608-16
Document(page_content='Signage. Tenant may place or attach to the Premises signs (digital or otherwise) or other such identification as needed after receiving written permission from the Landlord , which permission shall not be unreasonably withheld. Any damage caused to the Premises by the Tenant โ€™s erecting or ...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/docugami.html
3fae15f88608-17
Document(page_content='Landlord , its agents, servants, employees, licensees, invitees, and contractors during the last year of the term of this Lease at any and all times during regular business hours, after 24 hour notice to tenant, to pass and repass on and through the Premises, or such portion thereof as may ...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/docugami.html