id
stringlengths 14
16
| text
stringlengths 45
2.05k
| source
stringlengths 53
111
|
---|---|---|
0cd69a9f5ed3-11 | metadata={'source': './example_data/mlb_teams_2012.csv', 'row': 22}, lookup_index=0), Document(page_content='MLB Team: Royals\nPayroll in millions: 60.91\nWins: 72', lookup_str='', metadata={'source': './example_data/mlb_teams_2012.csv', 'row': 23}, lookup_index=0), Document(page_content='MLB Team: Marlins\nPayroll in millions: 118.07\nWins: 69', lookup_str='', metadata={'source': './example_data/mlb_teams_2012.csv', 'row': 24}, lookup_index=0), Document(page_content='MLB Team: Red Sox\nPayroll in millions: 173.18\nWins: 69', lookup_str='', metadata={'source': './example_data/mlb_teams_2012.csv', 'row': 25}, lookup_index=0), Document(page_content='MLB Team: Indians\nPayroll in millions: 78.43\nWins: 68', lookup_str='', metadata={'source': './example_data/mlb_teams_2012.csv', 'row': 26}, lookup_index=0), Document(page_content='MLB Team: Twins\nPayroll in millions: 94.08\nWins: 66', lookup_str='', metadata={'source': './example_data/mlb_teams_2012.csv', 'row': 27}, lookup_index=0), Document(page_content='MLB Team: Rockies\nPayroll in millions: 78.06\nWins: 64', | https://langchain.readthedocs.io\en\latest\modules\document_loaders\examples\csv.html |
0cd69a9f5ed3-12 | in millions: 78.06\nWins: 64', lookup_str='', metadata={'source': './example_data/mlb_teams_2012.csv', 'row': 28}, lookup_index=0), Document(page_content='MLB Team: Cubs\nPayroll in millions: 88.19\nWins: 61', lookup_str='', metadata={'source': './example_data/mlb_teams_2012.csv', 'row': 29}, lookup_index=0), Document(page_content='MLB Team: Astros\nPayroll in millions: 60.65\nWins: 55', lookup_str='', metadata={'source': './example_data/mlb_teams_2012.csv', 'row': 30}, lookup_index=0)] | https://langchain.readthedocs.io\en\latest\modules\document_loaders\examples\csv.html |
0cd69a9f5ed3-13 | Specify a column to be used identify the document source#
Use the source_column argument to specify a column to be set as the 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 questions using sources.
loader = CSVLoader(file_path='./example_data/mlb_teams_2012.csv', source_column="Team")
data = loader.load()
print(data) | https://langchain.readthedocs.io\en\latest\modules\document_loaders\examples\csv.html |
0cd69a9f5ed3-14 | [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_content='Team: Yankees\n"Payroll (millions)": 197.96\n"Wins": 95', lookup_str='', metadata={'source': 'Yankees', 'row': 2}, lookup_index=0), Document(page_content='Team: Giants\n"Payroll (millions)": 117.62\n"Wins": 94', lookup_str='', metadata={'source': 'Giants', 'row': 3}, lookup_index=0), Document(page_content='Team: Braves\n"Payroll (millions)": 83.31\n"Wins": 94', lookup_str='', metadata={'source': 'Braves', 'row': 4}, lookup_index=0), Document(page_content='Team: Athletics\n"Payroll (millions)": 55.37\n"Wins": 94', lookup_str='', metadata={'source': 'Athletics', 'row': 5}, lookup_index=0), Document(page_content='Team: Rangers\n"Payroll (millions)": 120.51\n"Wins": 93', lookup_str='', metadata={'source': 'Rangers', 'row': 6}, lookup_index=0), Document(page_content='Team: | https://langchain.readthedocs.io\en\latest\modules\document_loaders\examples\csv.html |
0cd69a9f5ed3-15 | 'row': 6}, lookup_index=0), Document(page_content='Team: Orioles\n"Payroll (millions)": 81.43\n"Wins": 93', lookup_str='', metadata={'source': 'Orioles', 'row': 7}, lookup_index=0), Document(page_content='Team: Rays\n"Payroll (millions)": 64.17\n"Wins": 90', lookup_str='', metadata={'source': 'Rays', 'row': 8}, lookup_index=0), Document(page_content='Team: Angels\n"Payroll (millions)": 154.49\n"Wins": 89', lookup_str='', metadata={'source': 'Angels', 'row': 9}, lookup_index=0), Document(page_content='Team: Tigers\n"Payroll (millions)": 132.30\n"Wins": 88', lookup_str='', metadata={'source': 'Tigers', 'row': 10}, lookup_index=0), Document(page_content='Team: Cardinals\n"Payroll (millions)": 110.30\n"Wins": 88', lookup_str='', metadata={'source': 'Cardinals', 'row': 11}, lookup_index=0), Document(page_content='Team: Dodgers\n"Payroll (millions)": 95.14\n"Wins": 86', lookup_str='', metadata={'source': 'Dodgers', 'row': 12}, lookup_index=0), Document(page_content='Team: White Sox\n"Payroll (millions)": 96.92\n"Wins": 85', lookup_str='', metadata={'source': 'White Sox', 'row': | https://langchain.readthedocs.io\en\latest\modules\document_loaders\examples\csv.html |
0cd69a9f5ed3-16 | lookup_str='', metadata={'source': 'White Sox', 'row': 13}, lookup_index=0), Document(page_content='Team: Brewers\n"Payroll (millions)": 97.65\n"Wins": 83', lookup_str='', metadata={'source': 'Brewers', 'row': 14}, lookup_index=0), Document(page_content='Team: Phillies\n"Payroll (millions)": 174.54\n"Wins": 81', lookup_str='', metadata={'source': 'Phillies', 'row': 15}, lookup_index=0), Document(page_content='Team: Diamondbacks\n"Payroll (millions)": 74.28\n"Wins": 81', lookup_str='', metadata={'source': 'Diamondbacks', 'row': 16}, lookup_index=0), Document(page_content='Team: Pirates\n"Payroll (millions)": 63.43\n"Wins": 79', lookup_str='', metadata={'source': 'Pirates', 'row': 17}, lookup_index=0), Document(page_content='Team: Padres\n"Payroll (millions)": 55.24\n"Wins": 76', lookup_str='', metadata={'source': 'Padres', 'row': 18}, lookup_index=0), Document(page_content='Team: Mariners\n"Payroll (millions)": 81.97\n"Wins": 75', lookup_str='', metadata={'source': 'Mariners', 'row': 19}, lookup_index=0), Document(page_content='Team: Mets\n"Payroll (millions)": 93.35\n"Wins": 74', lookup_str='', | https://langchain.readthedocs.io\en\latest\modules\document_loaders\examples\csv.html |
0cd69a9f5ed3-17 | (millions)": 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"Wins": 72', lookup_str='', metadata={'source': 'Royals', 'row': 22}, lookup_index=0), Document(page_content='Team: Marlins\n"Payroll (millions)": 118.07\n"Wins": 69', lookup_str='', metadata={'source': 'Marlins', 'row': 23}, lookup_index=0), Document(page_content='Team: Red Sox\n"Payroll (millions)": 173.18\n"Wins": 69', lookup_str='', metadata={'source': 'Red Sox', 'row': 24}, lookup_index=0), Document(page_content='Team: Indians\n"Payroll (millions)": 78.43\n"Wins": 68', lookup_str='', metadata={'source': 'Indians', 'row': 25}, lookup_index=0), Document(page_content='Team: Twins\n"Payroll (millions)": 94.08\n"Wins": 66', lookup_str='', metadata={'source': 'Twins', 'row': 26}, lookup_index=0), Document(page_content='Team: Rockies\n"Payroll | https://langchain.readthedocs.io\en\latest\modules\document_loaders\examples\csv.html |
0cd69a9f5ed3-18 | lookup_index=0), Document(page_content='Team: Rockies\n"Payroll (millions)": 78.06\n"Wins": 64', lookup_str='', metadata={'source': 'Rockies', 'row': 27}, lookup_index=0), Document(page_content='Team: Cubs\n"Payroll (millions)": 88.19\n"Wins": 61', lookup_str='', metadata={'source': 'Cubs', 'row': 28}, lookup_index=0), Document(page_content='Team: Astros\n"Payroll (millions)": 60.65\n"Wins": 55', lookup_str='', metadata={'source': 'Astros', 'row': 29}, lookup_index=0)] | https://langchain.readthedocs.io\en\latest\modules\document_loaders\examples\csv.html |
0cd69a9f5ed3-19 | previous
Copy Paste
next
Directory Loader
Contents
CSV Loader
Customizing the csv parsing and loading
Specify a column to be used identify the document source
By Harrison Chase
© Copyright 2023, Harrison Chase.
Last updated on Mar 24, 2023. | https://langchain.readthedocs.io\en\latest\modules\document_loaders\examples\csv.html |
2b1c1e2c44de-0 | .ipynb
.pdf
Directory Loader
Contents
Change loader class
Directory Loader#
This covers how to use the DirectoryLoader to load all documents in a directory. Under the hood, by default this uses the UnstructuredLoader
from langchain.document_loaders import DirectoryLoader
We can use the glob parameter to control which files to load. Note that here it doesn’t load the .rst file or the .ipynb files.
loader = DirectoryLoader('../', glob="**/*.md")
docs = loader.load()
len(docs)
1
Change loader class#
By default this uses the UnstructuredLoader class. However, you can change up the type of loader pretty easily.
from langchain.document_loaders import TextLoader
loader = DirectoryLoader('../', glob="**/*.md", loader_cls=TextLoader)
docs = loader.load()
len(docs)
1
previous
CSV Loader
next
Email
Contents
Change loader class
By Harrison Chase
© Copyright 2023, Harrison Chase.
Last updated on Mar 24, 2023. | https://langchain.readthedocs.io\en\latest\modules\document_loaders\examples\directory_loader.html |
543786f0844f-0 | .ipynb
.pdf
Email
Contents
Retain Elements
Email#
This notebook shows how to load email (.eml) files.
from langchain.document_loaders import UnstructuredEmailLoader
loader = UnstructuredEmailLoader('example_data/fake-email.eml')
data = loader.load()
data
[Document(page_content='This is a test email to use for unit tests.\n\nImportant points:\n\nRoses are red\n\nViolets are blue', lookup_str='', metadata={'source': 'example_data/fake-email.eml'}, lookup_index=0)]
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 = UnstructuredEmailLoader('example_data/fake-email.eml', mode="elements")
data = loader.load()
data[0]
Document(page_content='This is a test email to use for unit tests.', lookup_str='', metadata={'source': 'example_data/fake-email.eml'}, lookup_index=0)
previous
Directory Loader
next
EverNote
Contents
Retain Elements
By Harrison Chase
© Copyright 2023, Harrison Chase.
Last updated on Mar 24, 2023. | https://langchain.readthedocs.io\en\latest\modules\document_loaders\examples\email.html |
0d23077c4ebf-0 | .ipynb
.pdf
EverNote
EverNote#
How to load EverNote file from disk.
# !pip install pypandoc
# import pypandoc
# pypandoc.download_pandoc()
from langchain.document_loaders import EverNoteLoader
loader = EverNoteLoader("example_data/testing.enex")
loader.load()
[Document(page_content='testing this\n\nwhat happens?\n\nto the world?\n', lookup_str='', metadata={'source': 'example_data/testing.enex'}, lookup_index=0)]
previous
Email
next
Facebook Chat
By Harrison Chase
© Copyright 2023, Harrison Chase.
Last updated on Mar 24, 2023. | https://langchain.readthedocs.io\en\latest\modules\document_loaders\examples\evernote.html |
048dc0f8e24a-0 | .ipynb
.pdf
Facebook Chat
Facebook Chat#
This notebook covers how to load data from the Facebook Chats into a format that can be ingested into LangChain.
from langchain.document_loaders import FacebookChatLoader
loader = FacebookChatLoader("example_data/facebook_chat.json")
loader.load()
[Document(page_content='User 2 on 2023-02-05 12:46:11: Bye!\n\nUser 1 on 2023-02-05 12:43:55: Oh no worries! Bye\n\nUser 2 on 2023-02-05 12:24:37: No Im sorry it was my mistake, the blue one is not for sale\n\nUser 1 on 2023-02-05 12:05:40: I thought you were selling the blue one!\n\nUser 1 on 2023-02-05 12:05:09: Im not interested in this bag. Im interested in the blue one!\n\nUser 2 on 2023-02-05 12:04:28: Here is $129\n\nUser 2 on 2023-02-05 12:04:05: Online is at least $100\n\nUser 1 on 2023-02-05 11:59:59: How much do you want?\n\nUser 2 on 2023-02-05 07:17:56: Goodmorning! $50 is too low.\n\nUser 1 on 2023-02-04 23:17:02: Hi! Im interested in your bag. Im offering $50. Let me know if you are interested. Thanks!\n\n', lookup_str='', metadata={'source': 'docs/modules/document_loaders/examples/example_data/facebook_chat.json'}, lookup_index=0)]
previous
EverNote
next | https://langchain.readthedocs.io\en\latest\modules\document_loaders\examples\facebook_chat.html |
048dc0f8e24a-1 | previous
EverNote
next
Figma
By Harrison Chase
© Copyright 2023, Harrison Chase.
Last updated on Mar 24, 2023. | https://langchain.readthedocs.io\en\latest\modules\document_loaders\examples\facebook_chat.html |
bbad7a487413-0 | .ipynb
.pdf
Figma
Figma#
This notebook covers how to load data from the Figma REST API into a format that can be ingested into LangChain.
import os
from langchain.document_loaders import FigmaFileLoader
loader = FigmaFileLoader(
os.environ.get('ACCESS_TOKEN'),
os.environ.get('NODE_IDS'),
os.environ.get('FILE_KEY')
)
loader.load()
previous
Facebook Chat
next
GCS Directory
By Harrison Chase
© Copyright 2023, Harrison Chase.
Last updated on Mar 24, 2023. | https://langchain.readthedocs.io\en\latest\modules\document_loaders\examples\figma.html |
09d90bb8a155-0 | .ipynb
.pdf
GCS Directory
Contents
Specifying a prefix
GCS Directory#
This covers how to load document objects from an Google Cloud Storage (GCS) directory.
from langchain.document_loaders import GCSDirectoryLoader
# !pip install google-cloud-storage
loader = GCSDirectoryLoader(project_name="aist", bucket="testing-hwc")
loader.load()
/Users/harrisonchase/workplace/langchain/.venv/lib/python3.10/site-packages/google/auth/_default.py:83: UserWarning: Your application has authenticated using end user credentials from Google Cloud SDK without a quota project. You might receive a "quota exceeded" or "API not enabled" error. We recommend you rerun `gcloud auth application-default login` and make sure a quota project is added. Or you can use service accounts instead. For more information about service accounts, see https://cloud.google.com/docs/authentication/
warnings.warn(_CLOUD_SDK_CREDENTIALS_WARNING)
/Users/harrisonchase/workplace/langchain/.venv/lib/python3.10/site-packages/google/auth/_default.py:83: UserWarning: Your application has authenticated using end user credentials from Google Cloud SDK without a quota project. You might receive a "quota exceeded" or "API not enabled" error. We recommend you rerun `gcloud auth application-default login` and make sure a quota project is added. Or you can use service accounts instead. For more information about service accounts, see https://cloud.google.com/docs/authentication/
warnings.warn(_CLOUD_SDK_CREDENTIALS_WARNING)
[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# | https://langchain.readthedocs.io\en\latest\modules\document_loaders\examples\gcs_directory.html |
09d90bb8a155-1 | Specifying a prefix#
You can also specify a prefix for more finegrained control over what files to load.
loader = GCSDirectoryLoader(project_name="aist", bucket="testing-hwc", prefix="fake")
loader.load()
/Users/harrisonchase/workplace/langchain/.venv/lib/python3.10/site-packages/google/auth/_default.py:83: UserWarning: Your application has authenticated using end user credentials from Google Cloud SDK without a quota project. You might receive a "quota exceeded" or "API not enabled" error. We recommend you rerun `gcloud auth application-default login` and make sure a quota project is added. Or you can use service accounts instead. For more information about service accounts, see https://cloud.google.com/docs/authentication/
warnings.warn(_CLOUD_SDK_CREDENTIALS_WARNING)
/Users/harrisonchase/workplace/langchain/.venv/lib/python3.10/site-packages/google/auth/_default.py:83: UserWarning: Your application has authenticated using end user credentials from Google Cloud SDK without a quota project. You might receive a "quota exceeded" or "API not enabled" error. We recommend you rerun `gcloud auth application-default login` and make sure a quota project is added. Or you can use service accounts instead. For more information about service accounts, see https://cloud.google.com/docs/authentication/
warnings.warn(_CLOUD_SDK_CREDENTIALS_WARNING)
[Document(page_content='Lorem ipsum dolor sit amet.', lookup_str='', metadata={'source': '/var/folders/y6/8_bzdg295ld6s1_97_12m4lr0000gn/T/tmpylg6291i/fake.docx'}, lookup_index=0)]
previous
Figma
next
GCS File Storage
Contents
Specifying a prefix
By Harrison Chase
© Copyright 2023, Harrison Chase. | https://langchain.readthedocs.io\en\latest\modules\document_loaders\examples\gcs_directory.html |
09d90bb8a155-2 | By Harrison Chase
© Copyright 2023, Harrison Chase.
Last updated on Mar 24, 2023. | https://langchain.readthedocs.io\en\latest\modules\document_loaders\examples\gcs_directory.html |
15f4733ec0fa-0 | .ipynb
.pdf
GCS File Storage
GCS File Storage#
This covers how to load document objects from an Google Cloud Storage (GCS) file object.
from langchain.document_loaders import GCSFileLoader
# !pip install google-cloud-storage
loader = GCSFileLoader(project_name="aist", bucket="testing-hwc", blob="fake.docx")
loader.load()
/Users/harrisonchase/workplace/langchain/.venv/lib/python3.10/site-packages/google/auth/_default.py:83: UserWarning: Your application has authenticated using end user credentials from Google Cloud SDK without a quota project. You might receive a "quota exceeded" or "API not enabled" error. We recommend you rerun `gcloud auth application-default login` and make sure a quota project is added. Or you can use service accounts instead. For more information about service accounts, see https://cloud.google.com/docs/authentication/
warnings.warn(_CLOUD_SDK_CREDENTIALS_WARNING)
[Document(page_content='Lorem ipsum dolor sit amet.', lookup_str='', metadata={'source': '/var/folders/y6/8_bzdg295ld6s1_97_12m4lr0000gn/T/tmp3srlf8n8/fake.docx'}, lookup_index=0)]
previous
GCS Directory
next
GitBook
By Harrison Chase
© Copyright 2023, Harrison Chase.
Last updated on Mar 24, 2023. | https://langchain.readthedocs.io\en\latest\modules\document_loaders\examples\gcs_file.html |
8846d22fa890-0 | .ipynb
.pdf
GitBook
Contents
Load from single GitBook page
Load from all paths in a given GitBook
GitBook#
How to pull page data from any GitBook.
from langchain.document_loaders import GitbookLoader
loader = GitbookLoader("https://docs.gitbook.com")
Load from single GitBook page#
page_data = loader.load()
page_data
[Document(page_content='Introduction to GitBook\nGitBook is a modern documentation platform where teams can document everything from products to internal knowledge bases and APIs.\nWe want to help \nteams to work more efficiently\n by creating a simple yet powerful platform for them to \nshare their knowledge\n.\nOur mission is to make a \nuser-friendly\n and \ncollaborative\n product for everyone to create, edit and share knowledge through documentation.\nPublish your documentation in 5 easy steps\nImport\n\nMove your existing content to GitBook with ease.\nGit Sync\n\nBenefit from our bi-directional synchronisation with GitHub and GitLab.\nOrganise your content\n\nCreate pages and spaces and organize them into collections\nCollaborate\n\nInvite other users and collaborate asynchronously with ease.\nPublish your docs\n\nShare your documentation with selected users or with everyone.\nNext\n - Getting started\nOverview\nLast modified \n3mo ago', lookup_str='', metadata={'source': 'https://docs.gitbook.com', 'title': 'Introduction to GitBook'}, lookup_index=0)]
Load from all paths in a given GitBook#
For this to work, the GitbookLoader needs to be initialized with the root path (https://docs.gitbook.com in this example) and have load_all_paths set to True.
loader = GitbookLoader("https://docs.gitbook.com", load_all_paths=True)
all_pages_data = loader.load() | https://langchain.readthedocs.io\en\latest\modules\document_loaders\examples\gitbook.html |
8846d22fa890-1 | all_pages_data = loader.load()
Fetching text from https://docs.gitbook.com/
Fetching text from https://docs.gitbook.com/getting-started/overview
Fetching text from https://docs.gitbook.com/getting-started/import
Fetching text from https://docs.gitbook.com/getting-started/git-sync
Fetching text from https://docs.gitbook.com/getting-started/content-structure
Fetching text from https://docs.gitbook.com/getting-started/collaboration
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
Fetching text from https://docs.gitbook.com/tour/pdf-export
Fetching text from https://docs.gitbook.com/tour/activity-history
Fetching text from https://docs.gitbook.com/tour/insights
Fetching text from https://docs.gitbook.com/tour/notifications
Fetching text from https://docs.gitbook.com/tour/internationalization
Fetching text from https://docs.gitbook.com/tour/keyboard-shortcuts
Fetching text from https://docs.gitbook.com/tour/seo
Fetching text from https://docs.gitbook.com/advanced-guides/custom-domain
Fetching text from https://docs.gitbook.com/advanced-guides/advanced-sharing-and-security
Fetching text from https://docs.gitbook.com/advanced-guides/integrations
Fetching text from https://docs.gitbook.com/billing-and-admin/account-settings
Fetching text from https://docs.gitbook.com/billing-and-admin/plans
Fetching text from https://docs.gitbook.com/troubleshooting/faqs
Fetching text from https://docs.gitbook.com/troubleshooting/hard-refresh | https://langchain.readthedocs.io\en\latest\modules\document_loaders\examples\gitbook.html |
8846d22fa890-2 | Fetching text from https://docs.gitbook.com/troubleshooting/hard-refresh
Fetching text from https://docs.gitbook.com/troubleshooting/report-bugs
Fetching text from https://docs.gitbook.com/troubleshooting/connectivity-issues
Fetching text from https://docs.gitbook.com/troubleshooting/support
print(f"fetched {len(all_pages_data)} documents.")
# show second document
all_pages_data[2]
fetched 28 documents. | https://langchain.readthedocs.io\en\latest\modules\document_loaders\examples\gitbook.html |
8846d22fa890-3 | 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 editor permission or above can use the import feature.\nSupported formats\nGitBook supports imports from websites or files that are:\nMarkdown (.md or .markdown)\nHTML (.html)\nMicrosoft Word (.docx).\nWe also support import from:\nConfluence\nNotion\nGitHub Wiki\nQuip\nDropbox Paper\nGoogle Docs\nYou can also upload a ZIP\n \ncontaining HTML or Markdown files when \nimporting multiple pages.\nNote: this feature is in beta.\nFeel free to suggest import sources we don't support yet and \nlet us know\n if you have any issues.\nImport panel\nWhen you create a new space, you'll have the option to import content straight away:\nThe new page menu\nImport a page or subpage by selecting \nImport Page\n from the New Page menu, or \nImport Subpage\n in the page action menu, found in the table | https://langchain.readthedocs.io\en\latest\modules\document_loaders\examples\gitbook.html |
8846d22fa890-4 | in the page action menu, found in the table of contents:\nImport from the page action menu\nWhen you choose your input source, instructions will explain how to proceed.\nAlthough GitBook supports importing content from different kinds of sources, the end result might be different from your source due to differences in product features and document format.\nLimits\nGitBook currently has the following limits for imported content:\nThe maximum number of pages that can be uploaded in a single import is \n20.\nThe maximum number of files (images etc.) that can be uploaded in a single import is \n20.\nGetting started - \nPrevious\nOverview\nNext\n - Getting started\nGit Sync\nLast modified \n4mo ago", lookup_str='', metadata={'source': 'https://docs.gitbook.com/getting-started/import', 'title': 'Import'}, lookup_index=0) | https://langchain.readthedocs.io\en\latest\modules\document_loaders\examples\gitbook.html |
8846d22fa890-5 | previous
GCS File Storage
next
Google Drive
Contents
Load from single GitBook page
Load from all paths in a given GitBook
By Harrison Chase
© Copyright 2023, Harrison Chase.
Last updated on Mar 24, 2023. | https://langchain.readthedocs.io\en\latest\modules\document_loaders\examples\gitbook.html |
4fd5729c64dc-0 | .ipynb
.pdf
Google Drive
Contents
Prerequisites
🧑 Instructions for ingesting your Google Docs data
Google Drive#
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 for desktop app
pip install --upgrade google-api-python-client google-auth-httplib2 google-auth-oauthlib
🧑 Instructions for ingesting your Google Docs data#
By default, the GoogleDriveLoader expects the credentials.json file to be ~/.credentials/credentials.json, but this is configurable using the credentials_file keyword argument. Same thing with token.json. Note that token.json will be created automatically the first time you use the loader.
GoogleDriveLoader can load from a list of Google Docs document ids or a folder id. You can obtain your folder and document id from the URL:
Folder: https://drive.google.com/drive/u/0/folders/1yucgL9WGgWZdM1TOuKkeghlPizuzMYb5 -> folder id is "1yucgL9WGgWZdM1TOuKkeghlPizuzMYb5"
Document: https://docs.google.com/document/d/1bfaMQ18_i56204VaQDVeAFpqEijJTgvurupdEDiaUQw/edit -> document id is "1bfaMQ18_i56204VaQDVeAFpqEijJTgvurupdEDiaUQw"
from langchain.document_loaders import GoogleDriveLoader
loader = GoogleDriveLoader(folder_id="1yucgL9WGgWZdM1TOuKkeghlPizuzMYb5")
docs = loader.load()
previous
GitBook
next
Gutenberg
Contents | https://langchain.readthedocs.io\en\latest\modules\document_loaders\examples\googledrive.html |
4fd5729c64dc-1 | docs = loader.load()
previous
GitBook
next
Gutenberg
Contents
Prerequisites
🧑 Instructions for ingesting your Google Docs data
By Harrison Chase
© Copyright 2023, Harrison Chase.
Last updated on Mar 24, 2023. | https://langchain.readthedocs.io\en\latest\modules\document_loaders\examples\googledrive.html |
722aca0ed736-0 | .ipynb
.pdf
Gutenberg
Gutenberg#
This 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 = loader.load()
data
previous
Google Drive
next
Hacker News
By Harrison Chase
© Copyright 2023, Harrison Chase.
Last updated on Mar 24, 2023. | https://langchain.readthedocs.io\en\latest\modules\document_loaders\examples\gutenberg.html |
bd72a533e79f-0 | .ipynb
.pdf
Hacker News
Hacker News#
How to pull page data and comments from Hacker News
from langchain.document_loaders import HNLoader
loader = HNLoader("https://news.ycombinator.com/item?id=34817881")
data = loader.load()
data
[Document(page_content="delta_p_delta_x 18 hours ago \n | next [–] \n\nAstrophysical and cosmological simulations are often insightful. They're also very cross-disciplinary; besides the obvious astrophysics, there's networking and sysadmin, parallel computing and algorithm theory (so that the simulation programs are actually fast but still accurate), systems design, and even a bit of graphic design for the visualisations.Some of my favourite simulation projects:- IllustrisTNG: https://www.tng-project.org/- SWIFT: https://swift.dur.ac.uk/- CO5BOLD: https://www.astro.uu.se/~bf/co5bold_main.html (which produced these animations of a red-giant star: https://www.astro.uu.se/~bf/movie/AGBmovie.html)- AbacusSummit: https://abacussummit.readthedocs.io/en/latest/And I can add the simulations in the article, too.\n \nreply", lookup_str='', metadata={'source': 'https://news.ycombinator.com/item?id=34817881', 'title': 'What Lights the Universe’s Standard Candles?'}, lookup_index=0), | https://langchain.readthedocs.io\en\latest\modules\document_loaders\examples\hn.html |
bd72a533e79f-1 | Document(page_content="andrewflnr 19 hours ago \n | prev | next [–] \n\nWhoa. I didn't know the accretion theory of Ia supernovae was dead, much less that it had been since 2011.\n \nreply", lookup_str='', metadata={'source': 'https://news.ycombinator.com/item?id=34817881', 'title': 'What Lights the Universe’s Standard Candles?'}, lookup_index=0),
Document(page_content='andreareina 18 hours ago \n | prev | next [–] \n\nThis seems to be the paper https://academic.oup.com/mnras/article/517/4/5260/6779709\n \nreply', lookup_str='', metadata={'source': 'https://news.ycombinator.com/item?id=34817881', 'title': 'What Lights the Universe’s Standard Candles?'}, lookup_index=0),
Document(page_content="andreareina 18 hours ago \n | prev [–] \n\nWouldn't double detonation show up as variance in the brightness?\n \nreply", lookup_str='', metadata={'source': 'https://news.ycombinator.com/item?id=34817881', 'title': 'What Lights the Universe’s Standard Candles?'}, lookup_index=0)]
previous
Gutenberg
next
HTML
By Harrison Chase
© Copyright 2023, Harrison Chase.
Last updated on Mar 24, 2023. | https://langchain.readthedocs.io\en\latest\modules\document_loaders\examples\hn.html |
72f2745b219d-0 | .ipynb
.pdf
HTML
Contents
Loading HTML with BeautifulSoup4
HTML#
This covers how to load HTML documents into a document format that we can use downstream.
from langchain.document_loaders import UnstructuredHTMLLoader
loader = UnstructuredHTMLLoader("example_data/fake-content.html")
data = loader.load()
data
[Document(page_content='My First Heading\n\nMy first paragraph.', lookup_str='', metadata={'source': 'example_data/fake-content.html'}, lookup_index=0)]
Loading HTML with BeautifulSoup4#
We can also use BeautifulSoup4 to load HTML documents using the BSHTMLLoader. This will extract the text from the html into page_content, and the page title as title into metadata.
from langchain.document_loaders import BSHTMLLoader
loader = BSHTMLLoader("example_data/fake-content.html")
data = loader.load()
data
[Document(page_content='\n\nTest Title\n\n\nMy First Heading\nMy first paragraph.\n\n\n', lookup_str='', metadata={'source': 'example_data/fake-content.html', 'title': 'Test Title'}, lookup_index=0)]
previous
Hacker News
next
iFixit
Contents
Loading HTML with BeautifulSoup4
By Harrison Chase
© Copyright 2023, Harrison Chase.
Last updated on Mar 24, 2023. | https://langchain.readthedocs.io\en\latest\modules\document_loaders\examples\html.html |
0eda7f2a90a5-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 repair guide, text of Q&A’s and wikis from devices on iFixit using their open APIs. It’s incredibly useful for context related to technical documents and answers to questions about devices in the corpus of data on iFixit.
from langchain.document_loaders import IFixitLoader
loader = IFixitLoader("https://www.ifixit.com/Teardown/Banana+Teardown/811")
data = loader.load()
data | https://langchain.readthedocs.io\en\latest\modules\document_loaders\examples\ifixit.html |
0eda7f2a90a5-1 | data = loader.load()
data
[Document(page_content="# Banana Teardown\nIn this teardown, we open a banana to see what's inside. Yellow and delicious, but most importantly, yellow.\n\n\n###Tools Required:\n\n - Fingers\n\n - Teeth\n\n - Thumbs\n\n\n###Parts Required:\n\n - None\n\n\n## Step 1\nTake one banana from the bunch.\nDon't squeeze too hard!\n\n\n## Step 2\nHold the banana in your left hand and grip the stem between your right thumb and forefinger.\n\n\n## Step 3\nPull the stem downward until the peel splits.\n\n\n## Step 4\nInsert your thumbs into the split of the peel and pull the two sides apart.\nExpose the top of the banana. It may be slightly squished from pulling on the stem, but this will not affect the flavor.\n\n\n## Step 5\nPull open the peel, starting from your original split, and opening it along the length of the banana.\n\n\n## Step 6\nRemove fruit from peel.\n\n\n## Step 7\nEat and enjoy!\nThis is where you'll need your teeth.\nDo not choke on banana!\n", lookup_str='', metadata={'source': 'https://www.ifixit.com/Teardown/Banana+Teardown/811', 'title': 'Banana Teardown'}, lookup_index=0)]
loader = IFixitLoader("https://www.ifixit.com/Answers/View/318583/My+iPhone+6+is+typing+and+opening+apps+by+itself")
data = loader.load()
data | https://langchain.readthedocs.io\en\latest\modules\document_loaders\examples\ifixit.html |
0eda7f2a90a5-2 | [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### Accepted Answer\nHi,\nWhere did you buy it? If you bought it from Apple or from an official retailer like Carphone warehouse etc. Then you\'ll have a year warranty and can get it replaced free.\nIf you bought it second hand, from a third part repair shop or online, then it may still have warranty, unless it is refurbished and has been repaired elsewhere.\nIf this is the case, it may be the screen that needs replacing to solve your issue.\nEither way, wherever you got it, it\'s best to return it and get a refund or a replacement device. :-)\n\n\n\n### Most Helpful Answer\nI had the same issues, screen freezing, opening apps by itself, | https://langchain.readthedocs.io\en\latest\modules\document_loaders\examples\ifixit.html |
0eda7f2a90a5-3 | same issues, screen freezing, opening apps by itself, selecting the screens and typing on it\'s own. I first suspected aliens and then ghosts and then hackers.\niPhone 6 is weak physically and tend to bend on pressure. And my phone had no case or cover.\nI took the phone to apple stores and they said sensors need to be replaced and possibly screen replacement as well. My phone is just 17 months old.\nHere is what I did two days ago and since then it is working like a charm..\nHold the phone in portrait (as if watching a movie). Twist it very very gently. do it few times.Rest the phone for 10 mins (put it on a flat surface). You can now notice those self typing things gone and screen getting stabilized.\nThen, reset the hardware (hold the power and home button till the screen goes off and comes back with apple logo). release the buttons when you see this.\nThen, connect to your laptop and log in to iTunes and reset your phone completely. (please | https://langchain.readthedocs.io\en\latest\modules\document_loaders\examples\ifixit.html |
0eda7f2a90a5-4 | to iTunes and reset your phone completely. (please take a back-up first).\nAnd your phone should be good to use again.\nWhat really happened here for me is that the sensors might have stuck to the screen and with mild twisting, they got disengaged/released.\nI posted this in Apple Community and the moderators deleted it, for the best reasons known to them.\nInstead of throwing away your phone (or selling cheaply), try this and you could be saving your phone.\nLet me know how it goes.\n\n\n\n### Other Answer\nIt was the charging cord! I bought a gas station braided cord and it was the culprit. Once I plugged my OEM cord into the phone the GHOSTS went away.\n\n\n\n### Other Answer\nI\'ve same issue that I just get resolved. I first tried to restore it from iCloud back, however it was not a software issue or any virus issue, so after restore same problem continues. Then I get my phone to local area iphone repairing lab, and they detected | https://langchain.readthedocs.io\en\latest\modules\document_loaders\examples\ifixit.html |
0eda7f2a90a5-5 | to local area iphone repairing lab, and they detected that it is an LCD issue. LCD get out of order without any reason (It was neither hit or nor slipped, but LCD get out of order all and sudden, while using it) it started opening things at random. I get LCD replaced with new one, that cost me $80.00 in total ($70.00 LCD charges + $10.00 as labor charges to fix it). iPhone is back to perfect mode now. It was iphone 6s. Thanks.\n\n\n\n### Other Answer\nI was having the same issue with my 6 plus, I took it to a repair shop, they opened the phone, disconnected the three ribbons the screen has, blew up and cleaned the connectors and connected the screen again and it solved the issue… it’s hardware, not software.\n\n\n\n### Other Answer\nHey.\nJust had this problem now. As it turns out, you just need to plug in your phone. I use a case and when I took it off I noticed that there was a lot | https://langchain.readthedocs.io\en\latest\modules\document_loaders\examples\ifixit.html |
0eda7f2a90a5-6 | took it off I noticed that there was a lot of dust and dirt around the areas that the case didn\'t cover. I shined a light in my ports and noticed they were filled with dust. Tomorrow I plan on using pressurized air to clean it out and the problem should be solved. If you plug in your phone and unplug it and it stops the issue, I recommend cleaning your phone thoroughly.\n\n\n\n### Other Answer\nI simply changed the power supply and problem was gone. The block that plugs in the wall not the sub cord. The cord was fine but not the block.\n\n\n\n### Other Answer\nSomeone ask! I purchased my 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 | https://langchain.readthedocs.io\en\latest\modules\document_loaders\examples\ifixit.html |
0eda7f2a90a5-7 | I have my original charger. I am going to clean it and try everyone’s advice. It really sucks! I had 40,000,000 on my heart of Vegas slots! I play every day. I would be spinning and my fingers were no where max buttons and it would light up and switch to max. It did it 3 times before I caught it light up by its self. It sucks. Hope I can fix it!!!!\n\n\n\n### Other Answer\nNo answer, but same problem with iPhone 6 plus--random, self-generated jumping amongst apps and typing on its own--plus freezing regularly (aha--maybe that\'s what the "plus" in "6 plus" refers to?). An Apple Genius recommended upgrading to iOS 11.3.1 from 11.2.2, to see if that fixed the trouble. If it didn\'t, Apple will sell me a new phone for $168! Of couese the OS upgrade didn\'t fix the problem. Thanks for helping me figure out that it\'s most likely a hardware problem--which the | https://langchain.readthedocs.io\en\latest\modules\document_loaders\examples\ifixit.html |
0eda7f2a90a5-8 | that it\'s most likely a hardware problem--which the "genius" probably knows too.\nI\'m getting ready to go Android.\n\n\n\n### Other Answer\nI experienced similar ghost touches. Two weeks ago, I changed my iPhone 6 Plus shell (I had forced the phone into it because it’s pretty tight), and also put a new glass screen protector (the edges of the protector don’t stick to the screen, weird, so I brushed pressure on the edges at times to see if they may smooth out one day miraculously). I’m not sure if I accidentally bend the phone when I installed the shell, or, if I got a defective glass protector that messes up the touch sensor. Well, yesterday was the worse day, keeps dropping calls and ghost pressing keys for me when I was on a call. I got fed up, so I removed the screen protector, and so far problems have not reoccurred yet. I’m crossing my fingers that problems indeed solved.\n\n\n\n### Other Answer\nthank you so much | https://langchain.readthedocs.io\en\latest\modules\document_loaders\examples\ifixit.html |
0eda7f2a90a5-9 | solved.\n\n\n\n### Other Answer\nthank you so much for this post! i was struggling doing the reset because i cannot type userids and passwords correctly because the iphone 6 plus i have kept on typing letters incorrectly. I have been doing it for a day until i come across this article. Very helpful! God bless you!!\n\n\n\n### Other Answer\nI just turned it off, and turned it back on.\n\n\n\n### Other Answer\nMy problem has not gone away completely but its better now i changed my charger and turned off prediction ....,,,now it rarely happens\n\n\n\n### Other Answer\nI tried all of the above. I then turned off my home cleaned it with isopropyl alcohol 90%. Then I baked it in my oven on warm for an hour and a half over foil. Took it out and set it cool completely on the glass top stove. Then I turned on and it worked.\n\n\n\n### Other Answer\nI think at& t should man up and fix your phone for free! You pay | https://langchain.readthedocs.io\en\latest\modules\document_loaders\examples\ifixit.html |
0eda7f2a90a5-10 | up and fix your phone for free! You pay a lot for a Apple they should back it. I did the next 30 month payments and finally have it paid off in June. My iPad sept. Looking forward to a almost 100 drop in my phone bill! Now this crap!!! Really\n\n\n\n### Other Answer\nIf your phone is JailBroken, suggest downloading a virus. While all my symptoms were similar, there was indeed a virus/malware on the phone which allowed for remote control of my iphone (even while in lock mode). My mistake for buying a third party iphone i suppose. Anyway i have since had the phone restored to factory and everything is working as expected for now. I will of course keep you posted if this changes. Thanks to all for the helpful posts, really helped me narrow a few things down.\n\n\n\n### Other Answer\nWhen my phone was doing this, it ended up being the screen protector that i got from 5 below. I took it off and it stopped. I | https://langchain.readthedocs.io\en\latest\modules\document_loaders\examples\ifixit.html |
0eda7f2a90a5-11 | below. I took it off and it stopped. I ordered more protectors from amazon and replaced it\n\n\n\n### Other Answer\niPhone 6 Plus first generation….I had the same issues as all above, apps opening by themselves, self typing, ultra sensitive screen, items jumping around all over….it even 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 room…..cord was fine but bought a new Apple brand block plug…no more problems works just fine now. This issue was a recent event so had to narrow things down to what had changed recently to my phone so I could figure it out.\nI even had the same problem on a laptop with documents opening up by themselves…..a laptop that was plugged in to the same | https://langchain.readthedocs.io\en\latest\modules\document_loaders\examples\ifixit.html |
0eda7f2a90a5-12 | laptop that was plugged in to the same wall plug as my phone charger with the dollar store block plug….until I changed the block plug.\n\n\n\n### Other Answer\nHad the problem: Inherited a 6s Plus from my wife. She had no problem with it.\nLooks like it was merely the cheap phone case I purchased on Amazon. It was either pinching the edges or torquing the screen/body of the phone. Problem solved.\n\n\n\n### Other Answer\nI bought my phone on march 6 and it was a brand new, but It sucks me uo because it freezing, shaking and control by itself. I went to the store where I bought this and I told them to replacr it, but they told me I have to pay it because Its about lcd issue. Please help me what other ways to fix it. Or should I try to remove the screen or should I follow your step above.\n\n\n\n### Other Answer\nI tried everything and it seems to come back to needing the original iPhone cable…or | https://langchain.readthedocs.io\en\latest\modules\document_loaders\examples\ifixit.html |
0eda7f2a90a5-13 | come back to needing the original iPhone cable…or at least another 1 that would have come with another iPhone…not the $5 Store fast charging cables. My original cable is pretty beat up - like most that I see - but I’ve been beaten up much MUCH less by sticking with its use! I didn’t find that the casing/shell around it or not made any diff.\n\n\n\n### Other Answer\ngreat now I have to wait one more hour to reset my phone and while I was tryin to connect my phone to my computer the computer also restarted smh does anyone else knows how I can get my phone to work… my problem is I have a black dot on the bottom left of my screen an it wont allow me to touch a certain part of my screen unless I rotate my phone and I know the password but the first number is a 2 and it won\'t let me touch 1,2, or 3 so now I have to find a way to get rid of my password and all of | https://langchain.readthedocs.io\en\latest\modules\document_loaders\examples\ifixit.html |
0eda7f2a90a5-14 | way to get rid of my password and all of a sudden my phone wants to touch stuff on its own which got my phone disabled many times to the point where I have to wait a whole hour and I really need to finish something on my phone today PLEASE HELPPPP\n\n\n\n### Other Answer\nIn my case , iphone 6 screen was faulty. I got it replaced at local repair shop, so far phone is working fine.\n\n\n\n### Other Answer\nthis problem in iphone 6 has many different scenarios and solutions, first try to reconnect the lcd screen to the motherboard again, if didnt solve, try to replace the lcd connector on the motherboard, if not solved, then remains two issues, lcd screen it self or touch IC. in my country some repair shops just change them all for almost 40$ since they dont want to troubleshoot one by one. readers of this comment also should know that partial screen not responding in other iphone models might also have an issue in LCD connector on the motherboard, specially if you | https://langchain.readthedocs.io\en\latest\modules\document_loaders\examples\ifixit.html |
0eda7f2a90a5-15 | in LCD connector on the motherboard, specially if you lock/unlock screen and screen works again for sometime. lcd connectors gets disconnected lightly from the motherboard due to multiple falls and hits after sometime. best of luck for all\n\n\n\n### Other Answer\nI am facing the same issue whereby these ghost touches type and open apps , I am using an original Iphone cable , how to I fix this issue.\n\n\n\n### Other Answer\nThere were two issues with the phone I had troubles with. It was my dads and turns out he carried it in his pocket. The phone itself had a little bend in it as a result. A little pressure in the opposite direction helped the issue. But it also had a tiny crack in the screen which wasnt obvious, once we added a screen protector this fixed the issues entirely.\n\n\n\n### Other Answer\nI had the same problem with my 64Gb iPhone 6+. Tried a lot of things and eventually downloaded all my images and videos to my PC and restarted | https://langchain.readthedocs.io\en\latest\modules\document_loaders\examples\ifixit.html |
0eda7f2a90a5-16 | all my images and videos to my PC and restarted 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\document_loaders\examples\ifixit.html |
0eda7f2a90a5-17 | 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 computer. In total, there have been ten generations of the standard edition of the iPad.\n\n== Additional Information ==\n\n* [link|https://www.apple.com/ipad-select/|Official Apple Product Page]\n* [link|https://en.wikipedia.org/wiki/IPad#iPad|Official iPad Wikipedia]", lookup_str='', metadata={'source': 'https://www.ifixit.com/Device/Standard_iPad', 'title': 'Standard iPad'}, lookup_index=0)]
Searching iFixit using /suggest#
If you’re looking for a more general way to search iFixit based on a keyword or phrase, the /suggest endpoint will return content related to the search term, then the loader will load the content from each of the suggested items and prep and return the documents.
data = IFixitLoader.load_suggestions("Banana")
data | https://langchain.readthedocs.io\en\latest\modules\document_loaders\examples\ifixit.html |
0eda7f2a90a5-18 | data = IFixitLoader.load_suggestions("Banana")
data
[Document(page_content='Banana\nTasty fruit. Good source of potassium. Yellow.\n== Background Information ==\n\nCommonly misspelled, this wildly popular, phone shaped fruit serves as nutrition and an obstacle to slow down vehicles racing close behind you. Also used commonly as a synonym for “crazy” or “insane”.\n\nBotanically, the banana is considered a berry, although it isn’t included in the culinary berry category containing strawberries and raspberries. Belonging to the genus Musa, the banana originated in Southeast Asia and Australia. Now largely cultivated throughout South and Central America, bananas are largely available throughout the world. They are especially valued as a staple food group in developing countries due to the banana tree’s ability to produce fruit year round.\n\nThe banana can be easily opened. Simply remove the outer yellow shell by cracking the top of the stem. Then, with the broken piece, peel downward on each side until the fruity components on the inside are exposed. Once the shell has been removed it cannot be put back together.\n\n== Technical Specifications ==\n\n* Dimensions: Variable depending on genetics of the parent tree\n* Color: Variable depending on ripeness, region, and season\n\n== Additional Information ==\n\n[link|https://en.wikipedia.org/wiki/Banana|Wiki: Banana]', lookup_str='', metadata={'source': 'https://www.ifixit.com/Device/Banana', 'title': 'Banana'}, lookup_index=0), | https://langchain.readthedocs.io\en\latest\modules\document_loaders\examples\ifixit.html |
0eda7f2a90a5-19 | Document(page_content="# Banana Teardown\nIn this teardown, we open a banana to see what's inside. Yellow and delicious, but most importantly, yellow.\n\n\n###Tools Required:\n\n - Fingers\n\n - Teeth\n\n - Thumbs\n\n\n###Parts Required:\n\n - None\n\n\n## Step 1\nTake one banana from the bunch.\nDon't squeeze too hard!\n\n\n## Step 2\nHold the banana in your left hand and grip the stem between your right thumb and forefinger.\n\n\n## Step 3\nPull the stem downward until the peel splits.\n\n\n## Step 4\nInsert your thumbs into the split of the peel and pull the two sides apart.\nExpose the top of the banana. It may be slightly squished from pulling on the stem, but this will not affect the flavor.\n\n\n## Step 5\nPull open the peel, starting from your original split, and opening it along the length of the banana.\n\n\n## Step 6\nRemove fruit from peel.\n\n\n## Step 7\nEat and enjoy!\nThis is where you'll need your teeth.\nDo not choke on banana!\n", lookup_str='', metadata={'source': 'https://www.ifixit.com/Teardown/Banana+Teardown/811', 'title': 'Banana Teardown'}, lookup_index=0)]
previous
HTML
next
Images
Contents
Searching iFixit using /suggest
By Harrison Chase
© Copyright 2023, Harrison Chase.
Last updated on Mar 24, 2023. | https://langchain.readthedocs.io\en\latest\modules\document_loaders\examples\ifixit.html |
fa609a6590b6-0 | .ipynb
.pdf
Images
Contents
Using Unstructured
Retain Elements
Images#
This covers how to load images such as JPGs PNGs into a document format that we can use downstream.
Using Unstructured#
from langchain.document_loaders.image import UnstructuredImageLoader
loader = UnstructuredImageLoader("layout-parser-paper-fast.jpg")
data = loader.load()
data[0] | https://langchain.readthedocs.io\en\latest\modules\document_loaders\examples\image.html |
fa609a6590b6-1 | Document(page_content="LayoutParser: A Unified Toolkit for Deep\nLearning Based Document Image Analysis\n\n\n‘Zxjiang Shen' (F3}, Ruochen Zhang”, Melissa Dell*, Benjamin Charles Germain\nLeet, Jacob Carlson, and Weining LiF\n\n\nsugehen\n\nshangthrows, et\n\n“Abstract. Recent advanocs in document image analysis (DIA) have been\n‘pimarliy driven bythe application of neural networks dell roar\n{uteomer could be aly deployed in production and extended fo farther\n[nvetigtion. However, various factory ke lcely organize codebanee\nsnd sophisticated modal cnigurations compat the ey ree of\n‘erin! innovation by wide sence, Though there have been sng\n‘Hors to improve reuablty and simplify deep lees (DL) mode\n‘aon, sone of them ae optimized for challenge inthe demain of DIA,\nThis roprscte a major gap in the extng fol, sw DIA i eal to\nscademic research acon wie range of dpi in the social ssencee\n[rary for streamlining the sage of DL in DIA research and | https://langchain.readthedocs.io\en\latest\modules\document_loaders\examples\image.html |
fa609a6590b6-2 | streamlining the sage of DL in DIA research and appicn\n‘tons The core LayoutFaraer brary comes with a sch of simple and\nIntative interfaee or applying and eutomiing DI. odel fr Inyo de\npltfom for sharing both protrined modes an fal document dist\n{ation pipeline We demonutate that LayootPareer shea fr both\nlightweight and lrgeseledgtieation pipelines in eal-word uae ces\nThe leary pblely smal at Btspe://layost-pareergsthab So\n\n\n\n‘Keywords: Document Image Analysis» Deep Learning Layout Analysis\n‘Character Renguition - Open Serres dary « Tol\n\n\nIntroduction\n\n\n‘Deep Learning(DL)-based approaches are the state-of-the-art for a wide range of\ndoctiment image analysis (DIA) tea including document image clasiffeation [I]\n", lookup_str='', metadata={'source': 'layout-parser-paper-fast.jpg'}, lookup_index=0) | https://langchain.readthedocs.io\en\latest\modules\document_loaders\examples\image.html |
fa609a6590b6-3 | 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 = UnstructuredImageLoader("layout-parser-paper-fast.jpg", mode="elements")
data = loader.load()
data[0]
Document(page_content='LayoutParser: A Unified Toolkit for Deep\nLearning Based Document Image Analysis\n', lookup_str='', metadata={'source': 'layout-parser-paper-fast.jpg', 'filename': 'layout-parser-paper-fast.jpg', 'page_number': 1, 'category': 'Title'}, lookup_index=0)
previous
iFixit
next
IMSDb
Contents
Using Unstructured
Retain Elements
By Harrison Chase
© Copyright 2023, Harrison Chase.
Last updated on Mar 24, 2023. | https://langchain.readthedocs.io\en\latest\modules\document_loaders\examples\image.html |
906ab9b0563d-0 | .ipynb
.pdf
IMSDb
IMSDb#
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 | https://langchain.readthedocs.io\en\latest\modules\document_loaders\examples\imsdb.html |
906ab9b0563d-1 | [Document(page_content='\n\r\n\r\n\r\n\r\n BLACKKKLANSMAN\r\n \r\n \r\n \r\n \r\n Written by\r\n\r\n Charlie Wachtel & David Rabinowitz\r\n\r\n and\r\n\r\n Kevin Willmott & Spike Lee\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n FADE IN:\r\n | https://langchain.readthedocs.io\en\latest\modules\document_loaders\examples\imsdb.html |
906ab9b0563d-2 | FADE IN:\r\n \r\n SCENE FROM "GONE WITH THE WIND"\r\n \r\n Scarlett O\'Hara, played by Vivian Leigh, walks through the\r\n Thousands of injured Confederate Soldiers pulling back to\r\n reveal the Famous Shot of the tattered Confederate Flag in\r\n "Gone with the Wind" as The Max Stein Music Score swells from\r\n Dixie to Taps.\r\n \r\n BEAUREGARD- KLAN NARRATOR (O.S.)\r\n They say they may have lost the\r\n | https://langchain.readthedocs.io\en\latest\modules\document_loaders\examples\imsdb.html |
906ab9b0563d-3 | Battle but they didn\'t lose The War.\r\n Yes, Friends, We are under attack.\r\n \r\n CUT TO:\r\n \r\n A 1960\'S EDUCATIONAL STYLE FILM\r\n \r\n Shot on Grainy COLOR 16MM EKTACHROME Film, The NARRATOR\r\n BEAUREGARD, a Middle Aged but handsome, White Male, sits at a\r\n desk, a Confederate Flag on a stand beside him. Very\r\n Official. He | https://langchain.readthedocs.io\en\latest\modules\document_loaders\examples\imsdb.html |
906ab9b0563d-4 | him. Very\r\n Official. He is not a Southerner and speaks with articulation\r\n and intelligence.\r\n \r\n BEAUREGARD- KLAN NARRATOR\r\n You\'ve read about it in your Local\r\n Newspapers or seen it on The Evening\r\n News. That\'s right. We\'re living in\r\n an Era marked by the spread of\r\n Integration and Miscegenation.\r\n \r\n | https://langchain.readthedocs.io\en\latest\modules\document_loaders\examples\imsdb.html |
906ab9b0563d-5 | CUT TO:\r\n \r\n FOOTAGE OF THE LITTLE ROCK NINE\r\n \r\n being escorted into CENTRAL HIGH SCHOOL, Little Rock,\r\n Arkansas by The National Guard.\r\n \r\n BEAUREGARD- KLAN NARRATOR\r\n (V.O.)(CONT\'D)\r\n The Brown Decision forced upon us by\r\n The Jewish controlled Puppets on the\r\n | https://langchain.readthedocs.io\en\latest\modules\document_loaders\examples\imsdb.html |
906ab9b0563d-6 | Jewish controlled Puppets on the\r\n U.S. Supreme Court compelling White\r\n children to go to School with an\r\n Inferior Race is The Final Nail in a\r\n Black Coffin towards America becoming\r\n a Mongrel Nation.\r\n \r\n A QUICK SERIES OF IMAGES\r\n \r\n Segregation Signs. Antebellum Photos. Happy Slaves in Old\r\n Movies. Masters inspecting their Cotton and Tobacco with\r\n their Slaves in The Fields. Blacks shining Shoes and working\r\n as | https://langchain.readthedocs.io\en\latest\modules\document_loaders\examples\imsdb.html |
906ab9b0563d-7 | Shoes and working\r\n as Butlers, Porters and Maids.\r\n BEAUREGARD- KLAN NARRATOR (V.O.)\r\n (CONT\'D)\r\n We had a great way of Life before The\r\n Martin Luther Coon\'s of The World...\r\n \r\n CUT TO:\r\n \r\n The Billboard of Dr. Martin Luther King Jr. sitting in | https://langchain.readthedocs.io\en\latest\modules\document_loaders\examples\imsdb.html |
906ab9b0563d-8 | of Dr. Martin Luther King Jr. sitting in the\r\n front row of a Classroom it reads: Martin Luther King in a\r\n Communist Training School.\r\n \r\n BEAUREGARD- KLAN NARRATOR (CONT\'D)\r\n ...and their Army of Commies started\r\n their Civil Rights Assault on our\r\n Holy White Protestant Values.\r\n \r\n CLOSE - BOUREGARD - KLAN NARRATOR\r\n \r\n BEAUREGARD- KLAN | https://langchain.readthedocs.io\en\latest\modules\document_loaders\examples\imsdb.html |
906ab9b0563d-9 | BEAUREGARD- KLAN NARRATOR (CONT\'D)\r\n Do you really want your precious\r\n White Child going to School with\r\n Negroes?\r\n \r\n Footage of Black and White Children playing together,\r\n innocent.\r\n \r\n Beauregard now stands by a Large Screen and points at The\r\n Screen.\r\n \r\n BEAUREGARD-KLAN NARRATOR (CONT\'D)\r\n They are Lying, Dirty | https://langchain.readthedocs.io\en\latest\modules\document_loaders\examples\imsdb.html |
906ab9b0563d-10 | They are Lying, Dirty Monkeys...\r\n \r\n FOOTAGE and STILLS of Stereotype Blacks Coons, Bucks and\r\n shining Black Mammies. Black Soldiers in D. W. Griffith\'s\r\n "Birth of a Nation" pushing Whites around on the Street.\r\n \r\n CLOSE - BEAUREGARD\r\n \r\n BEAUREGARD- KLAN NARRATOR (CONT\'D)\r\n ...Stopping at nothing to gain\r\n Equality with The White Man.\r\n \r\n | https://langchain.readthedocs.io\en\latest\modules\document_loaders\examples\imsdb.html |
906ab9b0563d-11 | \r\n Images and Scientific charts of Blacks compared to Apes and\r\n Monkeys.\r\n \r\n CLOSE - BEAUREGARD - KLAN NARRATOR\r\n \r\n BEAUREGARD- KLAN NARRATOR (CONT\'D)\r\n ...Rapists, Murderers...Craving The\r\n Virgin, Pure Flesh of White Women.\r\n They are Super Predators...\r\n CUT TO:\r\n | https://langchain.readthedocs.io\en\latest\modules\document_loaders\examples\imsdb.html |
906ab9b0563d-12 | CUT TO:\r\n \r\n LYNCH, The MULATTO, lusting after our LILLIAN GISH in "Birth\r\n of a Nation." Other Lusting Images of Craving Black\r\n Beasts!!! SEXUAL PREDATORS!!!\r\n \r\n CUT TO:\r\n \r\n KING KONG on Empire State Building with Fay Wray in his hand.\r\n GUS in "Birth of a Nation" chasing a White Woman he wants to\r\n Rape.\r\n | https://langchain.readthedocs.io\en\latest\modules\document_loaders\examples\imsdb.html |
906ab9b0563d-13 | \r\n CUT TO:\r\n \r\n CLOSE - BEAUREGARD - KLAN NARRATOR\r\n \r\n A Stereotype illustration of Jews controlling Negroes.\r\n \r\n BEAUREGARD- KLAN NARRATOR (CONT\'D)\r\n ...and the Negro\'s insidious tactics\r\n under the tutelage of High Ranking\r\n | https://langchain.readthedocs.io\en\latest\modules\document_loaders\examples\imsdb.html |
906ab9b0563d-14 | of High Ranking\r\n Blood Sucking Jews! Using an Army of\r\n outside...\r\n \r\n Beauregard continues.\r\n \r\n CUT TO:\r\n \r\n BEAUREGARD-KLAN NARRATOR(CONT\'D)\r\n ...Northern Black Beast Agitators...\r\n \r\n Footage of The March on | https://langchain.readthedocs.io\en\latest\modules\document_loaders\examples\imsdb.html |
906ab9b0563d-15 | Footage of The March on Washington.\r\n \r\n CUT TO:\r\n \r\n CLOSE - BOUREGARD - KLAN NARRATOR.\r\n \r\n BOUREGARD- KLAN NARRATOR (CONT\'D)\r\n ...determined to overthrow The God\r\n Commanded and Biblically inspired\r\n Rule of The White Race.\r\n | https://langchain.readthedocs.io\en\latest\modules\document_loaders\examples\imsdb.html |
906ab9b0563d-16 | \r\n CUT TO:\r\n \r\n An image of an All-American White Nuclear Family.\r\n \r\n CUT TO:\r\n \r\n Bouregard gives his Final Words.\r\n \r\n BOUREGARD-KLAN | https://langchain.readthedocs.io\en\latest\modules\document_loaders\examples\imsdb.html |
906ab9b0563d-17 | BOUREGARD-KLAN NARRATOR (CONT\'D)\r\n It\'s an International... Jewish...\r\n Conspiracy.\r\n WE HEAR and end with the Corny Stinger of Music that goes\r\n with these Education and Propaganda Films!\r\n \r\n CUT TO:\r\n \r\n EXT. COLORADO SPRINGS AREA - DAY\r\n \r\n DRONE SHOT\r\n | https://langchain.readthedocs.io\en\latest\modules\document_loaders\examples\imsdb.html |
906ab9b0563d-18 | SHOT\r\n \r\n Superimposed: Early 70s\r\n \r\n An amazing contrast. The beautiful landscape of Colorado\r\n Springs, the City sits nestled within the rugged Mountain\r\n terrain. The majestic Pikes Peak, the jagged beauty of The\r\n Garden of the Gods, The plush Broadmoor Resort, The Will\r\n Rodgers Shrine of The Sun.\r\n \r\n \r\n EXT. COLORADO SPRINGS STREET - DAY\r\n \r\n RON STALLWORTH, Black, 21, Handsome, Intelligent, sporting a\r\n good | https://langchain.readthedocs.io\en\latest\modules\document_loaders\examples\imsdb.html |
906ab9b0563d-19 | sporting a\r\n good sized Afro, rebellious but straight laced by most 1970\'s\r\n standards.\r\n \r\n Ron stares at an Ad attached to a bulletin board.\r\n \r\n CLOSE - THE AD READS:\r\n \r\n JOIN THE COLORADO SPRINGS POLICE FORCE, MINORITIES ENCOURAGED\r\n TO APPLY! Ron rips the Ad from the board.\r\n \r\n EXT. COLORADO SPRINGS POLICE DEPT BUILDING. - DAY\r\n \r\n INT. OFFICE OF CHIEF BRIDGES - COLORADO SPRINGS POLICE DEPT -\r\n | https://langchain.readthedocs.io\en\latest\modules\document_loaders\examples\imsdb.html |
906ab9b0563d-20 | - COLORADO SPRINGS POLICE DEPT -\r\n DAY\r\n \r\n A drab, white-walled office. Ron sits across the table from\r\n The Assistant City Personnel Manager, MR. TURRENTINE, Black,\r\n 40\'s, business like but progressive and CHIEF BRIDGES, White,\r\n smart, 50\'s, in a Police Uniform, a Man ready for change.\r\n \r\n MR. TURRENTINE\r\n Why weren\'t you drafted into the\r\n Vietnam War?\r\n \r\n | https://langchain.readthedocs.io\en\latest\modules\document_loaders\examples\imsdb.html |
906ab9b0563d-21 | \r\n RON STALLWORTH\r\n I went to College.\r\n \r\n MR. TURRENTINE\r\n How do you feel about Vietnam?\r\n \r\n RON STALLWORTH\r\n I have mixed feelings.\r\n CHIEF BRIDGES\r\n Would you call yourself a Womanizer?\r\n | https://langchain.readthedocs.io\en\latest\modules\document_loaders\examples\imsdb.html |
906ab9b0563d-22 | Would you call yourself a Womanizer?\r\n RON STALLWORTH\r\n No Sir, I would not.\r\n \r\n MR. TURRENTINE\r\n Do you frequent Night Clubs?\r\n \r\n RON STALLWORTH\r\n No Sir.\r\n \r\n | https://langchain.readthedocs.io\en\latest\modules\document_loaders\examples\imsdb.html |
906ab9b0563d-23 | CHIEF BRIDGES\r\n Do you drink?\r\n \r\n RON STALLWORTH\r\n On Special occasions, Sir.\r\n \r\n MR. TURRENTINE\r\n Have you ever done any Drugs?\r\n \r\n RON STALLWORTH\r\n | https://langchain.readthedocs.io\en\latest\modules\document_loaders\examples\imsdb.html |
906ab9b0563d-24 | Only those prescribed by My Doctor,\r\n Sir.\r\n \r\n Turrentine looks at Chief Bridges.\r\n \r\n MR. TURRENTINE\r\n That\'s kind of rare these days for a\r\n young Hip Soul Brother like you.\r\n \r\n RON STALLWORTH\r\n I know but my Father was in The\r\n | https://langchain.readthedocs.io\en\latest\modules\document_loaders\examples\imsdb.html |
906ab9b0563d-25 | but my Father was in The\r\n Military and I was raised up the\r\n Right way, Sir.\r\n \r\n CHIEF BRIDGES\r\n How are you with people, generally?\r\n \r\n RON STALLWORTH\r\n Sir, they treat me right, I treat\r\n them right, like I already said I was\r\n | https://langchain.readthedocs.io\en\latest\modules\document_loaders\examples\imsdb.html |
906ab9b0563d-26 | raised...\r\n \r\n CHIEF BRIDGES\r\n ...Have you ever had any negative...\r\n \r\n Mr. Turrentine jumps in, impatient.\r\n \r\n MR. TURRENTINE\r\n ...What would you do if another Cop\r\n called you a Nigger?\r\n \r\n | https://langchain.readthedocs.io\en\latest\modules\document_loaders\examples\imsdb.html |
906ab9b0563d-27 | RON STALLWORTH\r\n Would that happen...\r\n \r\n MR. TURRENTINE\r\n ...Sheeeeeeettt!!!\r\n Bridges looks at him. Turrentine waits, Ron doesn\'t know how\r\n to respond, finally. Turrentine leans forward.\r\n \r\n MR. TURRENTINE (CONT\'D)\r\n There\'s never been a Black Cop in\r\n this City. If we | https://langchain.readthedocs.io\en\latest\modules\document_loaders\examples\imsdb.html |
906ab9b0563d-28 | this City. If we make you an Officer,\r\n you would, in effect, be the Jackie\r\n Robinson of the Colorado Springs\r\n Police force.\r\n \r\n Mr. Turrentine lets this sink in.\r\n \r\n MR. TURRENTINE (CONT\'D)\r\n And if you know anything about Jackie\r\n Robinson you know he had to take a\r\n lot of... guff... from his fellow\r\n | https://langchain.readthedocs.io\en\latest\modules\document_loaders\examples\imsdb.html |
906ab9b0563d-29 | his fellow\r\n Teammates, from Fans, other Teams,\r\n and The Press.\r\n \r\n RON STALLWORTH\r\n I know Jackie\'s Story, Sir.\r\n \r\n MR. TURRENTINE\r\n Good. So, knowing that, when someone\r\n calls you Nigger will you be able to\r\n turn the other Cheek?\r\n | https://langchain.readthedocs.io\en\latest\modules\document_loaders\examples\imsdb.html |
906ab9b0563d-30 | \r\n Ron evaluates the hard reality of the question. Decides.\r\n \r\n RON STALLWORTH\r\n If I need to, yes, Sir.\r\n \r\n MR. TURRENTINE\r\n Son, The Mayor and I think you might\r\n be The Man to open things up here.\r\n \r\n Ron looks at Chief Bridges.\r\n | https://langchain.readthedocs.io\en\latest\modules\document_loaders\examples\imsdb.html |
906ab9b0563d-31 | Bridges.\r\n \r\n CHIEF BRIDGES\r\n I\'ll have your back but I can only do\r\n so much. The Weight of this is on\r\n You...and You alone.\r\n \r\n Ron weighs The Journey ahead.\r\n \r\n OMITTED\r\n \r\n OMITTED\r\n | https://langchain.readthedocs.io\en\latest\modules\document_loaders\examples\imsdb.html |
906ab9b0563d-32 | \r\n INT. RECORDS ROOM - CSPD - DAY\r\n \r\n Ron sorts a file cabinet of records as OFFICER CLAY MULANEY,\r\n 60\'s, White, sits on a stool, reading a Magazine clearly\r\n looking at a Photo of something good.\r\n Ron looks at the Photo of the Actress Cybill Shepherd.\r\n \r\n RON STALLWORTH\r\n Cybill Shepherd. She was great in The\r\n Last Picture Show.\r\n | https://langchain.readthedocs.io\en\latest\modules\document_loaders\examples\imsdb.html |
906ab9b0563d-33 | \r\n OFFICER MULANEY\r\n Never saw it but what you think?\r\n \r\n RON STALLWORTH\r\n She\'s a very good Actress.\r\n \r\n OFFICER MULANEY\r\n Y\'know you want some of that.\r\n | https://langchain.readthedocs.io\en\latest\modules\document_loaders\examples\imsdb.html |
906ab9b0563d-34 | \r\n Ron ignores it.\r\n \r\n OFFICER MULANEY (CONT\'D)\r\n Truth be told when I see one of your\r\n kind with a White Woman it turns my\r\n Stomach.\r\n \r\n RON STALLWORTH\r\n Yeah. Why\'s that?\r\n \r\n | https://langchain.readthedocs.io\en\latest\modules\document_loaders\examples\imsdb.html |
906ab9b0563d-35 | OFFICER MULANEY\r\n He could only want one thing.\r\n \r\n RON STALLWORTH\r\n What would that be?\r\n \r\n OFFICER MULANEY\r\n You like acting dumb, Y\'know.\r\n \r\n | https://langchain.readthedocs.io\en\latest\modules\document_loaders\examples\imsdb.html |
906ab9b0563d-36 | RON STALLWORTH\r\n No, I just like my questions to be\r\n answered.\r\n \r\n A VOICE of UNIFORMED COP WHEATON calls from the other side of\r\n the Counter.\r\n \r\n WHEATON (O.S.)\r\n Hey! Anybody in there? Looking for a\r\n Toad here.\r\n \r\n Ron walks to the Counter to see The White and | https://langchain.readthedocs.io\en\latest\modules\document_loaders\examples\imsdb.html |
906ab9b0563d-37 | Ron walks to the Counter to see The White and sleep-deprived\r\n Cop impatiently leaning on his elbows.\r\n \r\n WHEATON (CONT\'D)\r\n Get me the record for this Toad named\r\n Tippy Birdsong.\r\n \r\n Ron pulls up the File for Tippy Birdsong. The Photo shows a\r\n Black Man in his twenties.\r\n WHEATON (CONT\'D)\r\n While you\'re at it, why | https://langchain.readthedocs.io\en\latest\modules\document_loaders\examples\imsdb.html |
906ab9b0563d-38 | While you\'re at it, why don\'t you\r\n grab another Toad... Steven Wilson.\r\n \r\n Ron pulls the File... another young Black Male, ANOTHER\r\n SEXUAL PREDATOR!\r\n \r\n INT. CSPD HALLWAY - DAY\r\n \r\n Chief Bridges strides down the hall with SGT. TRAPP a soft-\r\n spoken White Man in his 40\'s, they are discussing a File. Ron\r\n suddenly appears walking with them.\r\n \r\n | https://langchain.readthedocs.io\en\latest\modules\document_loaders\examples\imsdb.html |
906ab9b0563d-39 | RON STALLWORTH\r\n While I\'ve got you both here. Sirs,\r\n I\'d like to be an Undercover\r\n Detective.\r\n \r\n Chief Bridges and Sgt. Trapp both stop.\r\n \r\n CHIEF BRIDGES\r\n What Narcotics?\r\n \r\n RON | https://langchain.readthedocs.io\en\latest\modules\document_loaders\examples\imsdb.html |
906ab9b0563d-40 | RON STALLWORTH\r\n Whatever Department works, Sir.\r\n \r\n SGT. TRAPP\r\n You just joined The Force, Rookie.\r\n \r\n RON STALLWORTH\r\n I know, Sir but I think I could do\r\n some good there.\r\n \r\n SGT. TRAPP\r\n | https://langchain.readthedocs.io\en\latest\modules\document_loaders\examples\imsdb.html |
906ab9b0563d-41 | SGT. TRAPP\r\n Is that right?\r\n \r\n RON STALLWORTH\r\n Well, I\'m young. I think there\'s a\r\n niche for me. Get In where I can Fit\r\n In.\r\n \r\n SGT. TRAPP\r\n What do you think, Chief?\r\n \r\n Sgt. Trapp sees | https://langchain.readthedocs.io\en\latest\modules\document_loaders\examples\imsdb.html |
906ab9b0563d-42 | Sgt. Trapp sees the logic, looks to Chief Bridges, who stops,\r\n considering.\r\n \r\n CHIEF BRIDGES\r\n Think a lot of yourself, don\'t cha?\r\n \r\n RON STALLWORTH\r\n Just trying to be of help, Chief.\r\n Plus, I hate working in The Records\r\n room.\r\n Sgt. Trapp reacts knowing Ron | https://langchain.readthedocs.io\en\latest\modules\document_loaders\examples\imsdb.html |
906ab9b0563d-43 | Sgt. Trapp reacts knowing Ron shouldn\'t have said that about\r\n the Records Room. CHIEF BRIDGES looks at Ron, matter of fact.\r\n \r\n CHIEF BRIDGES\r\n Well, I think Records is a good place\r\n for you to start, Rookie.\r\n \r\n RON STALLWORTH\r\n Chief, want me clean shaven?\r\n \r\n | https://langchain.readthedocs.io\en\latest\modules\document_loaders\examples\imsdb.html |
906ab9b0563d-44 | \r\n CHIEF BRIDGES\r\n Keep it. I like the look.\r\n \r\n Chief Bridges walks off without another word. SGT. TRAPP\r\n gives a knowing look to Ron, who watches them walk away.\r\n \r\n INT. RECORDS ROOM - CSPD - DAY\r\n \r\n Ron behind the Counter. MASTER PATROLMAN ANDY LANDERS, White,\r\n Mid-30\'s, a regular guy but there is something dangerous\r\n there, steps up.\r\n | https://langchain.readthedocs.io\en\latest\modules\document_loaders\examples\imsdb.html |