id
stringlengths
14
15
text
stringlengths
17
2.72k
source
stringlengths
47
115
95ef1fe705cc-24
local\n\n→\n\n→\n\n¯k such that the diagram\n\n→ GL2(A)\n\n✟✟✯\n\n[ρ]\n\n✟✟\n\nι ❄ GL2(¯k)\n\n✲\n\nGQ\n\n[ ¯ρ ⊗ ¯k]\n\n¯k].\n\ncommutes, in the sense that [ι\n\nρ] = [¯ρ\n\n\n\n⊗\n\nExamples. (i) If E is an elliptic curve then ρE,p is a lifting of ¯ρE,p.\n\n(ii) If E is an elliptic curve, p is a prime, and hypotheses (...
https://python.langchain.com/docs/integrations/document_loaders/dropbox
95ef1fe705cc-25
is a complete noetherian local Zp-algebra, det(ρ) = εA, ρ is unramified\n\n, a representation ρ : GQ\n\nD\n\n→\n\nD\n\nordinary, flat }\n\n; see Appendix C).\n\n∈ {\n\nDefinition. A representation ¯ρ : GQ eigenform f and a prime ideal λ of\n\nmodular if there are an\n\nGL2(k) is Of such that ρf,λ is a type-\n\n→\n\nD\n\nl...
https://python.langchain.com/docs/integrations/document_loaders/dropbox
95ef1fe705cc-26
D\n\nD a finite extension of Qp is modular.\n\nRemark . Loosely speaking, Conjecture 3.2 says that if ¯ρ is modular, then every lifting which “looks modular” is modular.\n\nDefinition. An elliptic curve E over Q has good (respectively, bad ) reduction at a prime q if E is nonsingular (respectively, singular) modulo q. An...
https://python.langchain.com/docs/integrations/document_loaders/dropbox
95ef1fe705cc-27
E is modular.\n\nlifting of ¯ρE,p and -modular. Conjecture\n\nD\n\nD\n\n4. Mazur’s deformation theory\n\nNext we reformulate Conjecture 3.2 as a conjecture (Conjecture 4.2) that the algebras which parametrize liftings and modular liftings of a given representation are isomorphic. It is this form of Mazur’s conjecture t...
https://python.langchain.com/docs/integrations/document_loaders/dropbox
95ef1fe705cc-28
such that the diagram\n\n→\n\n[ρR]\n\n✲\n\nGQ\n\nGL2(R)\n\n❍\n\n❍❍\n\nφρ ❄ GL2(A)\n\n[ρ]\n\n❍❍❥\n\ncommutes.\n\nThis theorem was proved by Mazur [21] in the case when\n\nis ordinary and is flat. Theorem 4.1 determines R and ρR up to\n\nD\n\nby Ramakrishna [25] when isomorphism.\n\nD\n\n4.2. The universal modular deforma...
https://python.langchain.com/docs/integrations/document_loaders/dropbox
95ef1fe705cc-29
N divisible only by primes in Σ and a homomorphism by the Σ. By abuse of notation\n\nfrom the Hecke algebra T (N ) to T such that T is generated over images of the Hecke operators Tq for primes q / ∈ we write Tq also for its image in T.\n\nO\n\n(T3) There is a (\n\n,\n\n)-lifting\n\nD\n\nO\n\nGL2(T)\n\nρT : GQ\n\n→\n\n...
https://python.langchain.com/docs/integrations/document_loaders/dropbox
95ef1fe705cc-30
4.2 was stated in [23] (Conjecture 18) for\n\nordinary, and Wiles\n\nD\n\nmodified the conjecture to include the flat case.\n\nProposition 4.3. Conjecture 4.2 implies Conjecture 3.2.\n\nProof. Suppose ¯ρ : GQ -modular, A is D the ring of integers of a finite extension of Qp, and ρ is a type- lifting of ¯ρ to A. to be the ...
https://python.langchain.com/docs/integrations/document_loaders/dropbox
95ef1fe705cc-31
that the corresponding tangent space is a Selmer group, and in 5.3 we outline a general procedure due to Kolyvagin for bounding sizes of Selmer groups. The input for Kolyvagin’s method is known as an Euler system. The most difficult 5.4), and the part described as “not yet complete” in his part of Wiles’ work ( § Decembe...
https://python.langchain.com/docs/integrations/document_loaders/dropbox
95ef1fe705cc-32
5.1.\n\n). The ideal η is well defined independent of the\n\nO\n\nThe map π determines distinguished prime ideals of T and R,\n\nϕ) = ϕ−1(pT).\n\npT = ker(π),\n\npR = ker(π\n\n\n\nTheorem 5.2 (Wiles). If\n\n#(pR/p2\n\nR)\n\n#(\n\n/η) <\n\n, ∞\n\n≤\n\nO\n\nT is an isomorphism.\n\nthen ϕ : R\n\n→\n\nThe proof is entirely ...
https://python.langchain.com/docs/integrations/document_loaders/dropbox
95ef1fe705cc-33
the Galois cohomology group H 1(GQ, M ) deter- mined by certain “local conditions” in the following way. If q is a prime with decomposition group Dq ⊂\n\nGQ, then there is a restriction map\n\nresq : H 1(GQ, M )\n\nH 1(Dq, M ).\n\n→ Jq ⊆\n\nH 1(Dq, M ) : q prime\n\n= For a fixed collection of subgroups { the particular ...
https://python.langchain.com/docs/integrations/document_loaders/dropbox
95ef1fe705cc-34
let m denote the maximal ideal /mn) can be\n\nRetaining the notation from the beginning of\n\n§\n\nand fix a positive integer n. The tangent space HomO(pR/p2 R,\n\nof identified with a Selmer group as follows. Let Vn be the matrix algebra M2(\n\nO\n\nO\n\n/mn), with GQ acting via the adjoint repre-\n\nO\n\nsentation σ(B)...
https://python.langchain.com/docs/integrations/document_loaders/dropbox
95ef1fe705cc-35
M is a GQ-module of odd exponent m and\n\n=\n\nJq ⊆ §\n\nJ\n\n{\n\nH 2(Qq, µm) ∼ → H 1(Q, ˆM ), then\n\nH 1(Qq, ˆM )\n\niq : H 1(Qq, M )\n\nZ/mZ\n\n,\n\nh\n\n×\n\n→\n\nH 1(Q, M ) and d\n\n(see Chapters VI and VII of [3]). If c\n\n∈\n\n∈\n\n(15)\n\nresq(c), resq(d) h\n\niq = 0.\n\nq X\n\nH 1(Q, ˆM ) be the Selmer\n\nis ...
https://python.langchain.com/docs/integrations/document_loaders/dropbox
95ef1fe705cc-36
, if d\n\nL, then resL(S(M ))\n\n∈\n\n⊆\n\nQ\n\n#(S(M ))\n\n#\n\nker(θd)\n\n.\n\n≤\n\n(cid:0) \\d∈S∗\n\nL\n\n(cid:1)\n\nThe difficulty is to produce enough cohomology classes in S∗\n\nL to show that the right side of the above inequality is small. Following Kolyvagin, an Euler system is S∗ L for a large (infinite) collect...
https://python.langchain.com/docs/integrations/document_loaders/dropbox
95ef1fe705cc-37
where the Selmer group in question is the ideal class group ) are constructed from cyclotomic units, of a real abelian number field and the κ( L see [29]. For other cases involving ideal class groups and Selmer groups of elliptic curves, see [19], [31], [30], [13].\n\n(cid:1)\n\n5.4. Wiles’ geometric Euler system. The t...
https://python.langchain.com/docs/integrations/document_loaders/dropbox
95ef1fe705cc-38
[8], [9] and others.\n\n4.2. ) rely heavily on results of Faltings\n\n§\n\nL\n\nQ\n\n5.5. Wiles’ results. Wiles announced two main results (Theorems 5.3 and 5.4 below) in the direction of Mazur’s conjecture, under two different sets of hypotheses on the representation ¯ρ. Theorem 5.3 implies the Semistable Taniyama-Shim...
https://python.langchain.com/docs/integrations/document_loaders/dropbox
95ef1fe705cc-39
Sym2(¯ρ) is absolutely irreducible, (ii) if ¯ρ is ramified at q and q (iii) if p is 3 or 5, then for some prime q, p divides #(¯ρ(Iq)).\n\n= p, then the restriction of ¯ρ to Dq is reducible,\n\n6\n\nT is an isomorphism.\n\nThen ϕ : R\n\n→\n\nSince Theorem 5.3 does not yield the full Mazur Conjecture (Conjecture 4.2) for...
https://python.langchain.com/docs/integrations/document_loaders/dropbox
95ef1fe705cc-40
contains no nontrivial p-th roots of unity. Suppose also that there are an imaginary quadratic field F of discriminant prime to p and a character χ : Gal( ¯Q/F ) × such that T is the induced representation Indχ of GQ is a ( an isomorphism.\n\n, ¯ρ, and\n\nare as in\n\n4.2 and\n\nD\n\nO\n\n§\n\nO\n\n→ O\n\n)-lifting of ¯...
https://python.langchain.com/docs/integrations/document_loaders/dropbox
95ef1fe705cc-41
SILVERBERG\n\nSince E has complex multiplication, it is well known that E and ¯ρE,p are mod- ular. Since E has good reduction at p, it can be shown that the discriminant of contains no nontrivial p-th roots of unity. One can show F is prime to p and that all of the hypotheses of Theorem 5.4 are satisfied with ¯ρ = ¯ρE,p...
https://python.langchain.com/docs/integrations/document_loaders/dropbox
95ef1fe705cc-42
the elliptic curve\n\nand for each t\n\n∈\n\ny2 = x3\n\nx2 + a4(t)x + a6(t)\n\n−\n\nQ, ¯ρEt,3 is isomorphic to (note that E0 = E). It can be shown that for every t 0 or 1 (mod 3) (or more generally if t = 3a/b or t = 3a/b + 1 ¯ρE,3. If t with a and b integers and b not divisible by 3), then Et has good reduction at 3, ...
https://python.langchain.com/docs/integrations/document_loaders/dropbox
95ef1fe705cc-43
group DQ and the inertia group IQ are defined by\n\nDQ = IQ =\n\nσ\n\nGQ : σ ∈ Q ∈ DQ : σx\n\n=\n\n,\n\n{\n\nQ} x (mod\n\nσ\n\n) for all algebraic integers x }\n\n.\n\n≡ { There are natural identifications\n\nQ\n\nDQ/IQ ∼= Gal( ¯Fq/Fq),\n\nDQ ∼= Gal( ¯Qq/Qq),\n\nxq of GQ\n\nand FrobQ ∈ Gal( ¯Fq/Fq). If and\n\nDQ/IQ denot...
https://python.langchain.com/docs/integrations/document_loaders/dropbox
95ef1fe705cc-44
a modular form for Γ0(50) (see p. 86 of [1]), which lie in the four distinct C-isomorphism classes that correspond to the noncusp rational points on X0(15).\n\n) where E′ is an elliptic curve over Q and\n\nC\n\nC ⊂\n\n−\n\nTherefore every elliptic curve over Q with a GQ-stable subgroup of order 15 is modular. Equivalen...
https://python.langchain.com/docs/integrations/document_loaders/dropbox
95ef1fe705cc-45
X 0 be the component of X containing the rational point corresponding to (E, identity). Then X 0 is a curve of genus zero defined over Q with a rational point, so it has infinitely many rational points. We want to show that infinitely many of these points correspond to semistable elliptic curves E′ with ¯ρE′,3 irreducible...
https://python.langchain.com/docs/integrations/document_loaders/dropbox
95ef1fe705cc-46
we can find a t1 ∈ irreducible in Q[x]. It is possible to fix a prime ℓ = 5 such that f (t1, x) has no roots modulo ℓ. If t′ Q is sufficiently close ℓ-adically to t1, then f (t′, x) has no rational roots, and thus t′ corresponds to a rational point of X 0 which is not the image of a rational point of ˆX 0. Therefore there ...
https://python.langchain.com/docs/integrations/document_loaders/dropbox
95ef1fe705cc-47
notation as in\n\n5 (see especially §\n\n5.2), define\n\n§\n\n[ǫ]/(ǫ2, mn)\n\nOn =\n\nO\n\nA REPORT ON WILES’ CAMBRIDGE LECTURES\n\n23\n\nwhere ǫ is an indeterminate. Then v\n\n1 + ǫv defines an isomorphism\n\n7→ On) : δ GL2(\n\n∼ ∈ → { HomO(pR/p2 R,\n\n(16)\n\n1 (mod ǫ) } /mn) there is a unique -algebra homomorphism → O...
https://python.langchain.com/docs/integrations/document_loaders/dropbox
95ef1fe705cc-48
B. Birch and W. Kuyk, eds., Modular functions of one variable. IV, Lecture Notes in Math.,\n\nvol. 476, Springer-Verlag, New York, 1975, pp. 74–144.\n\n[2] J. Buhler, R. Crandall, R. Ernvall, and T. Mets¨ankyl¨a, Irregular primes and cyclotomic\n\ninvariants to four million, Math. Comp. 61 (1993), 151–153.\n\n[3] J. W....
https://python.langchain.com/docs/integrations/document_loaders/dropbox
95ef1fe705cc-49
Math.\n\n109 (1992), 307–327.\n\n[11] G. Frey, Links between solutions of A − B = C and elliptic curves, Number Theory, Ulm 1987, Proceedings, Lecture Notes in Math., vol. 1380, Springer-Verlag, New York, 1989, pp. 31–62.\n\n[12] S. Gelbart, Automorphic forms on adele groups, Ann. of Math. Stud., vol. 83, Princeton\n\n...
https://python.langchain.com/docs/integrations/document_loaders/dropbox
95ef1fe705cc-50
253–263. [18] [19] V. A. Kolyvagin, Euler systems, The Grothendieck Festschrift (Vol. II) (P. Cartier et al.,\n\neds.), Birkh¨auser, Boston, 1990, pp. 435–483.\n\n[20] R. Langlands, Base change for GL(2), Ann. of Math. Stud., vol. 96, Princeton Univ. Press,\n\nPrinceton, NJ, 1980.\n\n[21] B. Mazur, Deforming Galois rep...
https://python.langchain.com/docs/integrations/document_loaders/dropbox
95ef1fe705cc-51
431–476.\n\n, Report on mod ℓ representations of Gal( ¯Q/Q), Motives (U. Jannsen, S. Kleiman, and J-P. Serre, eds.), Proc. Sympos. Pure Math., vol. 55 (Part 2), Amer. Math. Soc., Providence, RI, 1994 (to appear).\n\n[28]\n\n[29] K. Rubin, The main conjecture. (Appendix to Cyclotomic fields I and II, S. Lang), Graduate\n...
https://python.langchain.com/docs/integrations/document_loaders/dropbox
95ef1fe705cc-52
Nagoya Math. J. 43 (1971), 199–208.\n\n, On the factors of the jacobian variety of a modular function field, J. Math. Soc.\n\n[37]\n\nJapan 25 (1973), 523–544.\n\n, Yutaka Taniyama and his time. Very personal recollections, Bull. London Math.\n\n[38]\n\nSoc. 21 (1989), 186–196.\n\n[39] J. Silverman, The arithmetic of el...
https://python.langchain.com/docs/integrations/document_loaders/dropbox
95ef1fe705cc-53
page_content='This is text file' metadata={'source': 'dropbox:///test.txt', 'title': 'test.txt'}
https://python.langchain.com/docs/integrations/document_loaders/dropbox
a96487796f1b-0
This notebook covers how to load documents from Docugami. It provides the advantages of using this system over alternative data loaders. Appropriate chunking of your documents is critical for retrieval from documents. Many chunking techniques exist, including simple ones that rely on whitespace and recursive chunk spli...
https://python.langchain.com/docs/integrations/document_loaders/docugami
a96487796f1b-1
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', 'sour...
https://python.langchain.com/docs/integrations/document_loaders/docugami
a96487796f1b-2
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 Purpose. E...
https://python.langchain.com/docs/integrations/document_loaders/docugami
a96487796f1b-3
Document(page_content='(i) were, at the date of disclosure, or have subsequently become, generally known or available to the public through no act or failure to act by the receiving party;', metadata={'xpath': '/docset:MutualNon-disclosure/docset:MutualNon-disclosure/docset:MUTUALNON-DISCLOSUREAGREEMENT-section/docset:...
https://python.langchain.com/docs/integrations/document_loaders/docugami
a96487796f1b-4
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 reasonable ...
https://python.langchain.com/docs/integrations/document_loaders/docugami
a96487796f1b-5
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/docse...
https://python.langchain.com/docs/integrations/document_loaders/docugami
a96487796f1b-6
Document(page_content='9. Equitable Relief . Each party acknowledges that the unauthorized use or disclosure of the disclosing party’s Confidential Information may cause the disclosing party to incur irreparable harm and significant damages, the degree of which may be difficult to ascertain. Accordingly, each party agr...
https://python.langchain.com/docs/integrations/document_loaders/docugami
a96487796f1b-7
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 subject matt...
https://python.langchain.com/docs/integrations/document_loaders/docugami
a96487796f1b-8
Document(page_content='DOCUGAMI INC . : \n\n Caleb Divine : \n\n Signature: Signature: Name: \n\n Jean Paoli Name: Title: \n\n CEO Title:', metadata={'xpath': '/docset:MutualNon-disclosure/docset:Witness/docset:TheParties/docset:DocugamiInc/docset:DocugamiInc/xhtml:table', 'id': '43rj0ds7s0ur', 'source': 'NDA simple la...
https://python.langchain.com/docs/integrations/document_loaders/docugami
a96487796f1b-9
'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 to th...
https://python.langchain.com/docs/integrations/document_loaders/docugami
a96487796f1b-10
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 removi...
https://python.langchain.com/docs/integrations/document_loaders/docugami
a96487796f1b-11
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 be nec...
https://python.langchain.com/docs/integrations/document_loaders/docugami
a96487796f1b-12
Document(page_content="24. SIGNS . No signage shall be placed by Tenant on any portion of the Project . However, Tenant shall be permitted to place a sign bearing its name in a location approved by Landlord near the entrance to the Premises (at Tenant's cost ) and will be furnished a single listing of its name in the B...
https://python.langchain.com/docs/integrations/document_loaders/docugami
a96487796f1b-13
One issue with large documents is that the correct answer to your question may depend on chunks that are far apart in the document. Typical chunking techniques, even with overlap, will struggle with providing the LLM sufficent context to answer such questions. With upcoming very large context LLMs, it may be possible t...
https://python.langchain.com/docs/integrations/document_loaders/docugami
a96487796f1b-14
[Document(page_content='1.1 Landlord . DHA Group , a Delaware limited liability company authorized to transact business in New Jersey .', metadata={'Landlord': 'DHA Group', 'Lease Date': 'March 29th , 2019', 'Lease Parties': 'THIS OFFICE LEASE (the "Lease") is made and entered into as of March 29th , 2019 , by and betw...
https://python.langchain.com/docs/integrations/document_loaders/docugami
a96487796f1b-15
Document(page_content='WITNESSES: LANDLORD: DHA Group , a Delaware limited liability company', metadata={'Landlord': 'DHA Group', 'Lease Date': 'March 29th , 2019', 'Lease Parties': 'THIS OFFICE LEASE (the "Lease") is made and entered into as of March 29th , 2019 , by and between Landlord and Tenant . "Date of this Lea...
https://python.langchain.com/docs/integrations/document_loaders/docugami
a96487796f1b-16
Document(page_content="1.16 Landlord 's Notice Address . DHA Group , Suite 1010 , 111 Bauer Dr , Oakland , New Jersey , 07436 , with a copy to the Building Management Office at the Project , Attention: On - Site Property Manager .", metadata={'Landlord': 'DHA Group', 'Lease Date': 'March 29th , 2019', 'Lease Parties': ...
https://python.langchain.com/docs/integrations/document_loaders/docugami
a96487796f1b-17
Document(page_content='1.6 Rentable Area of the Premises. 9,753 square feet . This square footage figure includes an add-on factor for Common Areas in the Building and has been agreed upon by the parties as final and correct and is not subject to challenge or dispute by either party.', metadata={'Landlord': 'Perry & Bl...
https://python.langchain.com/docs/integrations/document_loaders/docugami
a96487796f1b-18
EXCLUDE_KEYS = ["id", "xpath", "structure"] metadata_field_info = [ AttributeInfo( name=key, description=f"The {key} for this chunk", type="string", ) for key in documents[0].metadata if key.lower() not in EXCLUDE_KEYS ] document_content_description = "Contents of this chunk" llm = OpenAI(temperature=0) vectordb = Ch...
https://python.langchain.com/docs/integrations/document_loaders/docugami
a96487796f1b-19
{'query': 'What is rentable area for the property owned by DHA Group?', 'result': ' The rentable area for the property owned by DHA Group is 13,500 square feet.', 'source_documents': [Document(page_content='1.6 Rentable Area of the Premises. 13,500 square feet . This square footage figure includes an add-on factor for ...
https://python.langchain.com/docs/integrations/document_loaders/docugami
a96487796f1b-20
Document(page_content='1.6 Rentable Area of the Premises. 13,500 square feet . This square footage figure includes an add-on factor for Common Areas in the Building and has been agreed upon by the parties as final and correct and is not subject to challenge or dispute by either party.', metadata={'Landlord': 'DHA Group...
https://python.langchain.com/docs/integrations/document_loaders/docugami
a96487796f1b-21
Document(page_content='1.11 Percentage Rent . (a) 55 % of Gross Revenue to Landlord until Landlord receives Percentage Rent in an amount equal to the Annual Market Rent Hurdle (as escalated); and', metadata={'Landlord': 'DHA Group', 'Lease Date': 'March 29th , 2019', 'Lease Parties': 'THIS OFFICE LEASE (the "Lease") is...
https://python.langchain.com/docs/integrations/document_loaders/docugami
a96487796f1b-22
Document(page_content='1.11 Percentage Rent . (a) 55 % of Gross Revenue to Landlord until Landlord receives Percentage Rent in an amount equal to the Annual Market Rent Hurdle (as escalated); and', metadata={'Landlord': 'DHA Group', 'Lease Date': 'March 29th , 2019', 'Lease Parties': 'THIS OFFICE LEASE (the "Lease") is...
https://python.langchain.com/docs/integrations/document_loaders/docugami
0f0dc0dc1577-0
DuckDB DuckDB is an in-process SQL OLAP database management system. Load a DuckDB query with one document per row. from langchain.document_loaders import DuckDBLoader Team,Payroll Nationals,81.34 Reds,82.20 loader = DuckDBLoader("SELECT * FROM read_csv_auto('example.csv')") data = loader.load() [Document(page_content=...
https://python.langchain.com/docs/integrations/document_loaders/duckdb
1f392af8258f-0
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("example_data/fake-email.eml") [Document(page_content='This is a test email to use for unit...
https://python.langchain.com/docs/integrations/document_loaders/email
1f392af8258f-1
mode="elements", process_attachments=True, ) Document(page_content='This is a test email to use for unit tests.', metadata={'source': 'example_data/fake-email.eml', 'filename': 'fake-email.eml', 'file_directory': 'example_data', 'date': '2022-12-16T17:04:16-05:00', 'filetype': 'message/rfc822', 'sent_from': ['Matthew R...
https://python.langchain.com/docs/integrations/document_loaders/email
8aa412041200-0
Embaas embaas is a fully managed NLP API service that offers features like embedding generation, document text extraction, document to embeddings and more. You can choose a variety of pre-trained models. Prerequisites​ Create a free embaas account at https://embaas.io/register and generate an API key The document text ...
https://python.langchain.com/docs/integrations/document_loaders/embaas
181ba1aa4726-0
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 covers how to load .epub documents into the Doc...
https://python.langchain.com/docs/integrations/document_loaders/epub
c155b8932969-0
EverNote is intended for archiving and 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. A document will be created for each note in the export. [Document(page_content='testing this\n\nwhat h...
https://python.langchain.com/docs/integrations/document_loaders/evernote
186c5c48fb6e-0
This notebook covers how to load data from an .ipynb notebook into a format suitable by LangChain. NotebookLoader.load() loads the .ipynb notebook file into a Document object. loader.load(include_outputs=True, max_output_length=20, remove_newline=True)
https://python.langchain.com/docs/integrations/document_loaders/example_data/notebook
3b56604a82ec-0
The UnstructuredExcelLoader is used to load Microsoft Excel files. The loader works with both .xlsx and .xls files. The page content will be the raw text of the Excel file. If you use the loader in "elements" mode, an HTML representation of the Excel file will be available in the document metadata under the text_as_htm...
https://python.langchain.com/docs/integrations/document_loaders/excel
d4b5483c7956-0
This notebook covers how to load data from the Facebook Chats into a format that can be ingested into LangChain. [Document(page_content='User 2 on 2023-02-05 03:46:11: Bye!\n\nUser 1 on 2023-02-05 03:43:55: Oh no worries! Bye\n\nUser 2 on 2023-02-05 03:24:37: No Im sorry it was my mistake, the blue one is not for sale\...
https://python.langchain.com/docs/integrations/document_loaders/facebook_chat
10c23a64eb28-0
from langchain.document_loaders.fauna import FaunaLoader secret = "<enter-valid-fauna-secret>" query = "Item.all()" # Fauna query. Assumes that the collection is called "Item" field = "text" # The field that contains the page content. Assumes that the field is called "text" loader = FaunaLoader(query, field, secret) ...
https://python.langchain.com/docs/integrations/document_loaders/fauna
f2a17d1c4bd3-0
Figma Figma is a collaborative web application for interface design. This notebook covers how to load data from the Figma REST API into a format that can be ingested into LangChain, along with example usage for code generation. import os from langchain.document_loaders.figma import FigmaFileLoader from langchain.tex...
https://python.langchain.com/docs/integrations/document_loaders/figma
f2a17d1c4bd3-1
human_prompt_template = "Code the {text}. Ensure it's mobile responsive" system_message_prompt = SystemMessagePromptTemplate.from_template( system_prompt_template ) human_message_prompt = HumanMessagePromptTemplate.from_template( human_prompt_template ) # delete the gpt-4 model_name to use the default gpt-3.5 turbo for...
https://python.langchain.com/docs/integrations/document_loaders/figma
f2a17d1c4bd3-2
response = generate_code("page top header") Returns the following in response.content: <!DOCTYPE html>\n<html lang="en">\n<head>\n <meta charset="UTF-8">\n <meta name="viewport" content="width=device-width, initial-scale=1.0">\n <style>\n @import url(\'https://fonts.googleapis.com/css2?family=DM+Sans:wght@500;700&famil...
https://python.langchain.com/docs/integrations/document_loaders/figma
d66a28f4a038-0
Geopandas is an open source project to 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 a...
https://python.langchain.com/docs/integrations/document_loaders/geopandas
d66a28f4a038-1
# Plot the San Francisco map and the points fig, ax = plt.subplots(figsize=(10, 10)) sf.plot(ax=ax, color="white", edgecolor="black") gdf.plot(ax=ax, color="red", markersize=5) plt.show() Load GeoPandas dataframe as a Document for downstream processing (embedding, chat, etc). The geometry will be the default page_cont...
https://python.langchain.com/docs/integrations/document_loaders/geopandas
d66a28f4a038-2
Document(page_content='POINT (-122.420084075249 37.7083109744362)', metadata={'pdid': '4133422003074', 'incidntnum': '041334220', 'incident_code': '03074', 'category': 'ROBBERY', 'descript': 'ROBBERY, BODILY FORCE', 'dayofweek': 'Monday', 'date': '2004-11-22T00:00:00.000', 'time': '17:50', 'pddistrict': 'INGLESIDE', 'r...
https://python.langchain.com/docs/integrations/document_loaders/geopandas
d66a28f4a038-3
nan, 'Latitude': 37.7083109744362, 'Longitude': -122.420084075249})
https://python.langchain.com/docs/integrations/document_loaders/geopandas
28a5bc8dc104-0
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 development. This notebook shows how to load text files from Git repository. Load existing repository from disk​ f...
https://python.langchain.com/docs/integrations/document_loaders/git
3b9acaae566f-0
GitBook GitBook is a modern documentation platform where teams can document everything from products to internal knowledge bases and APIs. This notebook shows how to pull page data from any GitBook. from langchain.document_loaders import GitbookLoader Load from single GitBook page​ loader = GitbookLoader("https://docs....
https://python.langchain.com/docs/integrations/document_loaders/gitbook
3b9acaae566f-1
Fetching text from https://docs.gitbook.com/getting-started/publishing Fetching text from https://docs.gitbook.com/tour/quick-find Fetching text from https://docs.gitbook.com/tour/editor Fetching text from https://docs.gitbook.com/tour/customization Fetching text from https://docs.gitbook.com/tour/member-management Fet...
https://python.langchain.com/docs/integrations/document_loaders/gitbook
3b9acaae566f-2
Document(page_content="Import\nFind out how to easily migrate your existing documentation and which formats are supported.\nThe import function allows you to migrate and unify existing documentation in GitBook. You can choose to import single or multiple pages although limits apply. \nPermissions\nAll members with edit...
https://python.langchain.com/docs/integrations/document_loaders/gitbook
89dd799662bd-0
This notebooks shows how you can load issues and pull requests (PRs) for a given repository on GitHub. We will use the LangChain Python repository as an example. To access the GitHub API, you need a personal access token - you can set up yours here: https://github.com/settings/tokens?type=beta. You can either set this ...
https://python.langchain.com/docs/integrations/document_loaders/github
89dd799662bd-1
### Expected behavior Chain should run {'url': 'https://github.com/hwchase17/langchain/issues/5027', 'title': "ChatOpenAI models don't work with prompts created via ChatPromptTemplate.from_role_strings", 'creator': 'UmerHA', 'created_at': '2023-05-20T10:39:18Z', 'comments': 1, 'state': 'open', 'labels': [], 'assignee'...
https://python.langchain.com/docs/integrations/document_loaders/github
cb32dac2f2ba-0
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. Load a BigQuery query with one document per row. #!pip install google-cloud-bigquery from langchain.document_loaders import Bi...
https://python.langchain.com/docs/integrations/document_loaders/google_bigquery
cb32dac2f2ba-1
data = loader.load() [Document(page_content='dna_sequence: ATTCGA\norganism: Lokiarchaeum sp. (strain GC14_75).', lookup_str='', metadata={'id': 1}, lookup_index=0), Document(page_content='dna_sequence: AGGCGA\norganism: Heimdallarchaeota archaeon (strain LC_2).', lookup_str='', metadata={'id': 2}, lookup_index=0), Doc...
https://python.langchain.com/docs/integrations/document_loaders/google_bigquery
046311b50a83-0
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 langchain.document_loaders import GCSDirectoryLoader loader = GCSDirectoryLoade...
https://python.langchain.com/docs/integrations/document_loaders/google_cloud_storage_directory
046311b50a83-1
[Document(page_content='Lorem ipsum dolor sit amet.', lookup_str='', metadata={'source': '/var/folders/y6/8_bzdg295ld6s1_97_12m4lr0000gn/T/tmpz37njh7u/fake.docx'}, lookup_index=0)] Specifying a prefix​ You can also specify a prefix for more finegrained control over what files to load. loader = GCSDirectoryLoader(projec...
https://python.langchain.com/docs/integrations/document_loaders/google_cloud_storage_directory
63f338e4cfee-0
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 GCSFileLoader loader = GCSFileLoader(project_name=...
https://python.langchain.com/docs/integrations/document_loaders/google_cloud_storage_file
8dfc6bdfbd10-0
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​ Create a Google Cloud project or use an existing project Enable the Google Drive API Authorize credentials ...
https://python.langchain.com/docs/integrations/document_loaders/google_drive
8dfc6bdfbd10-1
file_types=["document", "sheet"], recursive=False ) Passing in Optional File Loaders​ When processing files other than Google Docs and Google Sheets, it can be helpful to pass an optional file loader to GoogleDriveLoader. If you pass in a file loader, that file loader will be used on documents that do not have a Google...
https://python.langchain.com/docs/integrations/document_loaders/google_drive
8dfc6bdfbd10-2
text/csv text/markdown image/png image/jpeg application/epub+zip application/pdf application/rtf application/vnd.google-apps.document (GDoc) application/vnd.google-apps.presentation (GSlide) application/vnd.google-apps.spreadsheet (GSheet) application/vnd.google.colaboratory (Notebook colab) application/vnd.openxmlform...
https://python.langchain.com/docs/integrations/document_loaders/google_drive
8dfc6bdfbd10-3
print(doc.page_content.strip()[:60]+"...") You can customize your pattern. from langchain.prompts.prompt import PromptTemplate loader = GoogleDriveLoader( folder_id=folder_id, recursive=False, template=PromptTemplate( input_variables=["query", "query_name"], template="fullText contains '{query}' and name contains '{que...
https://python.langchain.com/docs/integrations/document_loaders/google_drive
8dfc6bdfbd10-4
If you use the mode="snippet", only the description will be used for the body. Else, the metadata['summary'] has the field. Sometime, a specific filter can be used to extract some information from the filename, to select some files with specific criteria. You can use a filter. Sometimes, many documents are returned. It...
https://python.langchain.com/docs/integrations/document_loaders/google_drive
ee9c15e5c7f2-0
GROBID is a machine learning library for extracting, parsing, and re-structuring raw documents. It is designed and expected to be used to parse academic papers, where it works particularly well. Note: if the articles supplied to Grobid are large documents (e.g. dissertations) exceeding a certain number of elements, the...
https://python.langchain.com/docs/integrations/document_loaders/grobid
ee9c15e5c7f2-1
'para': '2', 'bboxes': "[[{'page': '1', 'x': '317.05', 'y': '509.17', 'h': '207.73', 'w': '9.46'}, {'page': '1', 'x': '306.14', 'y': '522.72', 'h': '220.08', 'w': '9.46'}, {'page': '1', 'x': '306.14', 'y': '536.27', 'h': '218.27', 'w': '9.46'}, {'page': '1', 'x': '306.14', 'y': '549.82', 'h': '218.65', 'w': '9.46'}, {'...
https://python.langchain.com/docs/integrations/document_loaders/grobid
ee9c15e5c7f2-2
'section_title': 'Introduction', 'section_number': '1', 'paper_title': 'LLaMA: Open and Efficient Foundation Language Models', 'file_path': '/Users/31treehaus/Desktop/Papers/2302.13971.pdf'}
https://python.langchain.com/docs/integrations/document_loaders/grobid
172495165f21-0
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/69972/pg69972.txt") data[0...
https://python.langchain.com/docs/integrations/document_loaders/gutenberg
73116e700278-0
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 intellectual curiosity." This note...
https://python.langchain.com/docs/integrations/document_loaders/hacker_news
059db9350862-0
Huawei OBS Directory The following code demonstrates how to load objects from the Huawei OBS (Object Storage Service) as documents. # Install the required package # pip install esdk-obs-python from langchain.document_loaders import OBSDirectoryLoader endpoint = "your-endpoint" # Configure your access credentials\n conf...
https://python.langchain.com/docs/integrations/document_loaders/huawei_obs_directory
f0b8cf34b490-0
Huawei OBS File The following code demonstrates how to load an object from the Huawei OBS (Object Storage Service) as document. # Install the required package # pip install esdk-obs-python from langchain.document_loaders.obs_file import OBSFileLoader endpoint = "your-endpoint" from obs import ObsClient obs_client = Obs...
https://python.langchain.com/docs/integrations/document_loaders/huawei_obs_file
794c869f24fb-0
The Hugging Face Hub is home to over 5,000 datasets in more than 100 languages that can be used for a broad range of tasks across NLP, Computer Vision, and Audio. They used for a diverse range of tasks such as translation, automatic speech recognition, and image classification. This notebook shows how to load Hugging F...
https://python.langchain.com/docs/integrations/document_loaders/hugging_face_dataset
794c869f24fb-1
Document(page_content='"I Am Curious: Yellow" is a risible and pretentious steaming pile. It doesn\'t matter what one\'s political views are because this film can hardly be taken seriously on any level. As for the claim that frontal male nudity is an automatic NC-17, that isn\'t true. I\'ve seen R-rated films with male...
https://python.langchain.com/docs/integrations/document_loaders/hugging_face_dataset
794c869f24fb-2
Document(page_content="This film was probably inspired by Godard's Masculin, féminin and I urge you to see that film instead.<br /><br />The film has two strong elements and those are, (1) the realistic acting (2) the impressive, undeservedly good, photo. Apart from that, what strikes me most is the endless stream of s...
https://python.langchain.com/docs/integrations/document_loaders/hugging_face_dataset
794c869f24fb-3
Document(page_content='Oh, brother...after hearing about this ridiculous film for umpteen years all I can think of is that old Peggy Lee song..<br /><br />"Is that all there is??" ...I was just an early teen when this smoked fish hit the U.S. I was too young to get in the theater (although I did manage to sneak into "G...
https://python.langchain.com/docs/integrations/document_loaders/hugging_face_dataset
794c869f24fb-4
Document(page_content="I would put this at the top of my list of films in the category of unwatchable trash! There are films that are bad, but the worst kind are the ones that are unwatchable but you are suppose to like them because they are supposed to be good for you! The sex sequences, so shocking in its day, couldn...
https://python.langchain.com/docs/integrations/document_loaders/hugging_face_dataset
794c869f24fb-5
Document(page_content='When I first saw a glimpse of this movie, I quickly noticed the actress who was playing the role of Lucille Ball. Rachel York\'s portrayal of Lucy is absolutely awful. Lucille Ball was an astounding comedian with incredible talent. To think about a legend like Lucille Ball being portrayed the way...
https://python.langchain.com/docs/integrations/document_loaders/hugging_face_dataset
794c869f24fb-6
Document(page_content='Who are these "They"- the actors? the filmmakers? Certainly couldn\'t be the audience- this is among the most air-puffed productions in existence. It\'s the kind of movie that looks like it was a lot of fun to shoot\x97 TOO much fun, nobody is getting any actual work done, and that almost always ...
https://python.langchain.com/docs/integrations/document_loaders/hugging_face_dataset