id
stringlengths
14
16
text
stringlengths
29
2.73k
source
stringlengths
49
115
315ea59905fb-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_pa...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/gitbook.html
315ea59905fb-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 edit...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/gitbook.html
315ea59905fb-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 ...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/gitbook.html
315ea59905fb-5
previous Git 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 May 02, 2023.
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/gitbook.html
22461d442381-0
.ipynb .pdf ChatGPT Data Loader ChatGPT Data Loader# This notebook covers how to load conversations.json from your ChatGPT data export folder. You can get your data export by email by going to: https://chat.openai.com/ -> (Profile) - Settings -> Export data -> Confirm export. from langchain.document_loaders.chatgpt imp...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/chatgpt_loader.html
5bd10f2f5e55-0
.ipynb .pdf Git Contents Load existing repository from disk Clone repository from url Filtering files to load Git# This notebook shows how to load text files from Git repository. Load existing repository from disk# from git import Repo repo = Repo.clone_from( "https://github.com/hwchase17/langchain", to_path="./e...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/git.html
690279a0a0dd-0
.ipynb .pdf Telegram Telegram# This notebook covers how to load data from Telegram into a format that can be ingested into LangChain. from langchain.document_loaders import TelegramChatLoader loader = TelegramChatLoader("example_data/telegram.json") loader.load() [Document(page_content="Henry on 2020-01-01T00:00:02: It...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/telegram.html
10304e2ab454-0
.ipynb .pdf iFixit Contents Searching iFixit using /suggest iFixit# iFixit is the largest, open repair community on the web. The site contains nearly 100k repair manuals, 200k Questions & Answers on 42k devices, and all the data is licensed under CC-BY-NC-SA 3.0. This loader will allow you to download the text of a r...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/ifixit.html
10304e2ab454-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 bu...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/ifixit.html
10304e2ab454-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### Acc...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/ifixit.html
10304e2ab454-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...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/ifixit.html
10304e2ab454-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 i...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/ifixit.html
10304e2ab454-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 ...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/ifixit.html
10304e2ab454-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 ...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/ifixit.html
10304e2ab454-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 s...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/ifixit.html
10304e2ab454-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 ...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/ifixit.html
10304e2ab454-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...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/ifixit.html
10304e2ab454-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 downloadin...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/ifixit.html
10304e2ab454-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...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/ifixit.html
10304e2ab454-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 eith...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/ifixit.html
10304e2ab454-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 ...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/ifixit.html
10304e2ab454-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 ...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/ifixit.html
10304e2ab454-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 ...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/ifixit.html
10304e2ab454-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://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/ifixit.html
10304e2ab454-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 co...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/ifixit.html
10304e2ab454-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 co...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/ifixit.html
10304e2ab454-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 har...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/ifixit.html
aba375d44df4-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, along with example usage for code generation. import os from langchain.document_loaders.figma import FigmaFileLoader from langchain.text_splitter import CharacterTextSplitter from la...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/figma.html
aba375d44df4-1
# See https://python.langchain.com/en/latest/modules/models/chat/getting_started.html for chat info system_prompt_template = """You are expert coder Jon Carmack. Use the provided design context to create idomatic HTML/CSS code as possible based on the user request. Everything must be inline in one file and your...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/figma.html
aba375d44df4-2
<!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&family=Inter:wght@600&display=swap\');\n\n body {\n margin...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/figma.html
aba375d44df4-3
font-weight: 700;\n margin: 0;\n }\n\n .header nav {\n display: flex;\n align-items: center;\n }\n\n .header nav a {\n font-size: 14px;\n font-weight: 500;\n text-decoration: none;\n color: #000;\n margin...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/figma.html
aba375d44df4-4
Ipsum</a>\n <a href="#">Lorem Ipsum</a>\n <a href="#">Lorem Ipsum</a>\n </nav>\n </header>\n</body>\n</html>
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/figma.html
aba375d44df4-5
previous Facebook Chat next GCS Directory By Harrison Chase © Copyright 2023, Harrison Chase. Last updated on May 02, 2023.
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/figma.html
a6f05bc590f5-0
.ipynb .pdf URL Contents URL Selenium URL Loader Setup Playwright URL Loader Setup URL# This covers how to load HTML documents from a list of URLs into a document format that we can use downstream. from langchain.document_loaders import UnstructuredURLLoader urls = [ "https://www.understandingwar.org/backgrounde...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/url.html
a6f05bc590f5-1
!pip install "playwright" !pip install "unstructured" !playwright install from langchain.document_loaders import PlaywrightURLLoader urls = [ "https://www.youtube.com/watch?v=dQw4w9WgXcQ", "https://goo.gl/maps/NDSHwePEyaHMFGwh8" ] loader = PlaywrightURLLoader(urls=urls, remove_selectors=["header", "footer"]) da...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/url.html
23bb9ca77d2e-0
.ipynb .pdf ReadTheDocs Documentation ReadTheDocs Documentation# This notebook covers how to load content from html that was generated as part of a Read-The-Docs build. For an example of this in the wild, see here. This assumes that the html has already been scraped into a folder. This can be done by uncommenting and r...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/readthedocs_documentation.html
7ae4bc85c5d7-0
.ipynb .pdf Blockchain Contents Overview Load NFTs into Document Loader Option 1: Ethereum Mainnet (default BlockchainType) Option 2: Polygon Mainnet Blockchain# Overview# The intention of this notebook is to provide a means of testing functionality in the Langchain Document Loader for Blockchain. Initially this Load...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/blockchain.html
7ae4bc85c5d7-1
nfts[:2] Option 2: Polygon Mainnet# contractAddress = "0x448676ffCd0aDf2D85C1f0565e8dde6924A9A7D9" # Polygon Mainnet contract address blockchainType = BlockchainType.POLYGON_MAINNET blockchainLoader = BlockchainDocumentLoader(contract_address=contractAddress, blockchainType...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/blockchain.html
56bb04697a98-0
.ipynb .pdf Reddit Reddit# This loader fetches the text from the Posts of Subreddits or Reddit users, using the praw Python package. Make a Reddit Application from https://www.reddit.com/prefs/apps/ and initialize the loader with with your Reddit API credentials. from langchain.document_loaders import RedditPostsLoader...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/reddit.html
56bb04697a98-1
documents = loader.load() documents[:5] [Document(page_content='Hello, I am not looking for investment advice. I will apply my own due diligence. However, I am interested if anyone knows as a UK resident how fees and exchange rate differences would impact performance?\n\nI am planning to create a pie of index funds (pe...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/reddit.html
56bb04697a98-2
Document(page_content='Have a general question? Want to offer some commentary on markets? Maybe you would just like to throw out a neat fact that doesn\'t warrant a self post? Feel free to post here! \n\nIf your question is "I have $10,000, what do I do?" or other "advice for my personal situation" questions, you sh...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/reddit.html
56bb04697a98-3
big debts (include interest rate) or expenses? \n* And any other relevant financial information will be useful to give you a proper answer. \n\nPlease consider consulting our FAQ first - https://www.reddit.com/r/investing/wiki/faq\nAnd our [side bar](https://www.reddit.com/r/investing/about/sidebar) also has useful r...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/reddit.html
56bb04697a98-4
Thread - April 27, 2023', 'post_score': 5, 'post_id': '130eszz', 'post_url': 'https://www.reddit.com/r/investing/comments/130eszz/daily_general_discussion_and_advice_thread_april/', 'post_author': Redditor(name='AutoModerator')}),
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/reddit.html
56bb04697a98-5
Document(page_content="Based on recent news about salt battery advancements and the overall issues of lithium, I was wondering what would be feasible ways to invest into non-lithium based battery technologies? CATL is of course a choice, but the selection of brokers I currently have in my disposal don't provide HK stoc...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/reddit.html
56bb04697a98-6
Document(page_content='Hello everyone,\n\nI would really like to invest in an ETF that follows spy or another big index, as I think this form of investment suits me best. \n\nThe problem is, that I live in Denmark where ETFs and funds are taxed annually on unrealised gains at quite a steep rate. This means that an ETF ...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/reddit.html
5c95b9d52560-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...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/googledrive.html
5c95b9d52560-1
# Optional: configure whether to recursively fetch files from subfolders. Defaults to False. recursive=False ) docs = loader.load() previous GitBook next Gutenberg Contents Prerequisites 🧑 Instructions for ingesting your Google Docs data By Harrison Chase © Copyright 2023, Harrison Chase. L...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/googledrive.html
e3c499715eee-0
.ipynb .pdf Twitter Twitter# This loader fetches the text from the Tweets of a list of Twitter users, using the tweepy Python package. You must initialize the loader with your Twitter API token, and you need to pass in the Twitter username you want to extract. from langchain.document_loaders import TwitterTweetLoader #...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/twitter.html
e3c499715eee-1
[Document(page_content='@MrAndyNgo @REI One store after another shutting down', metadata={'created_at': 'Tue Apr 18 03:45:50 +0000 2023', 'user_info': {'id': 44196397, 'id_str': '44196397', 'name': 'Elon Musk', 'screen_name': 'elonmusk', 'location': 'A Shortfall of Gravitas', 'profile_location': None, 'description': 'n...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/twitter.html
e3c499715eee-2
[], 'user_mentions': [{'screen_name': 'MrAndyNgo', 'name': 'Andy Ngô 🏳️\u200d🌈', 'id': 2835451658, 'id_str': '2835451658', 'indices': [0, 10]}, {'screen_name': 'REI', 'name': 'REI', 'id': 16583846, 'id_str': '16583846', 'indices': [11, 15]}], 'urls': []}, 'source': '<a href="http://twitter.com/download/iphone" rel="n...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/twitter.html
e3c499715eee-3
'profile_background_tile': False, 'profile_image_url': 'http://pbs.twimg.com/profile_images/1590968738358079488/IY9Gx6Ok_normal.jpg', 'profile_image_url_https': 'https://pbs.twimg.com/profile_images/1590968738358079488/IY9Gx6Ok_normal.jpg', 'profile_banner_url': 'https://pbs.twimg.com/profile_banners/44196397/157618347...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/twitter.html
e3c499715eee-4
Document(page_content='@KanekoaTheGreat @joshrogin @glennbeck Large ships are fundamentally vulnerable to ballistic (hypersonic) missiles', metadata={'created_at': 'Tue Apr 18 03:43:25 +0000 2023', 'user_info': {'id': 44196397, 'id_str': '44196397', 'name': 'Elon Musk', 'screen_name': 'elonmusk', 'location': 'A Shortfa...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/twitter.html
e3c499715eee-5
down', 'truncated': False, 'entities': {'hashtags': [], 'symbols': [], 'user_mentions': [{'screen_name': 'MrAndyNgo', 'name': 'Andy Ngô 🏳️\u200d🌈', 'id': 2835451658, 'id_str': '2835451658', 'indices': [0, 10]}, {'screen_name': 'REI', 'name': 'REI', 'id': 16583846, 'id_str': '16583846', 'indices': [11, 15]}], 'urls': ...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/twitter.html
e3c499715eee-6
'http://abs.twimg.com/images/themes/theme1/bg.png', 'profile_background_image_url_https': 'https://abs.twimg.com/images/themes/theme1/bg.png', 'profile_background_tile': False, 'profile_image_url': 'http://pbs.twimg.com/profile_images/1590968738358079488/IY9Gx6Ok_normal.jpg', 'profile_image_url_https': 'https://pbs.twi...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/twitter.html
e3c499715eee-7
Document(page_content='@KanekoaTheGreat The Golden Rule', metadata={'created_at': 'Tue Apr 18 03:37:17 +0000 2023', 'user_info': {'id': 44196397, 'id_str': '44196397', 'name': 'Elon Musk', 'screen_name': 'elonmusk', 'location': 'A Shortfall of Gravitas', 'profile_location': None, 'description': 'nothing', 'url': None, ...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/twitter.html
e3c499715eee-8
'MrAndyNgo', 'name': 'Andy Ngô 🏳️\u200d🌈', 'id': 2835451658, 'id_str': '2835451658', 'indices': [0, 10]}, {'screen_name': 'REI', 'name': 'REI', 'id': 16583846, 'id_str': '16583846', 'indices': [11, 15]}], 'urls': []}, 'source': '<a href="http://twitter.com/download/iphone" rel="nofollow">Twitter for iPhone</a>', 'in_...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/twitter.html
e3c499715eee-9
'profile_background_tile': False, 'profile_image_url': 'http://pbs.twimg.com/profile_images/1590968738358079488/IY9Gx6Ok_normal.jpg', 'profile_image_url_https': 'https://pbs.twimg.com/profile_images/1590968738358079488/IY9Gx6Ok_normal.jpg', 'profile_banner_url': 'https://pbs.twimg.com/profile_banners/44196397/157618347...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/twitter.html
e3c499715eee-10
Document(page_content='@KanekoaTheGreat 🧐', metadata={'created_at': 'Tue Apr 18 03:35:48 +0000 2023', 'user_info': {'id': 44196397, 'id_str': '44196397', 'name': 'Elon Musk', 'screen_name': 'elonmusk', 'location': 'A Shortfall of Gravitas', 'profile_location': None, 'description': 'nothing', 'url': None, 'entities': {...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/twitter.html
e3c499715eee-11
'MrAndyNgo', 'name': 'Andy Ngô 🏳️\u200d🌈', 'id': 2835451658, 'id_str': '2835451658', 'indices': [0, 10]}, {'screen_name': 'REI', 'name': 'REI', 'id': 16583846, 'id_str': '16583846', 'indices': [11, 15]}], 'urls': []}, 'source': '<a href="http://twitter.com/download/iphone" rel="nofollow">Twitter for iPhone</a>', 'in_...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/twitter.html
e3c499715eee-12
'profile_background_tile': False, 'profile_image_url': 'http://pbs.twimg.com/profile_images/1590968738358079488/IY9Gx6Ok_normal.jpg', 'profile_image_url_https': 'https://pbs.twimg.com/profile_images/1590968738358079488/IY9Gx6Ok_normal.jpg', 'profile_banner_url': 'https://pbs.twimg.com/profile_banners/44196397/157618347...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/twitter.html
e3c499715eee-13
Document(page_content='@TRHLofficial What’s he talking about and why is it sponsored by Erik’s son?', metadata={'created_at': 'Tue Apr 18 03:32:17 +0000 2023', 'user_info': {'id': 44196397, 'id_str': '44196397', 'name': 'Elon Musk', 'screen_name': 'elonmusk', 'location': 'A Shortfall of Gravitas', 'profile_location': N...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/twitter.html
e3c499715eee-14
'entities': {'hashtags': [], 'symbols': [], 'user_mentions': [{'screen_name': 'MrAndyNgo', 'name': 'Andy Ngô 🏳️\u200d🌈', 'id': 2835451658, 'id_str': '2835451658', 'indices': [0, 10]}, {'screen_name': 'REI', 'name': 'REI', 'id': 16583846, 'id_str': '16583846', 'indices': [11, 15]}], 'urls': []}, 'source': '<a href="ht...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/twitter.html
e3c499715eee-15
'http://abs.twimg.com/images/themes/theme1/bg.png', 'profile_background_image_url_https': 'https://abs.twimg.com/images/themes/theme1/bg.png', 'profile_background_tile': False, 'profile_image_url': 'http://pbs.twimg.com/profile_images/1590968738358079488/IY9Gx6Ok_normal.jpg', 'profile_image_url_https': 'https://pbs.twi...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/twitter.html
e3c499715eee-16
previous Telegram next Unstructured File Loader By Harrison Chase © Copyright 2023, Harrison Chase. Last updated on May 02, 2023.
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/twitter.html
03257a0e27ae-0
.ipynb .pdf Notebook Notebook# This notebook covers how to load data from an .ipynb notebook into a format suitable by LangChain. from langchain.document_loaders import NotebookLoader loader = NotebookLoader("example_data/notebook.ipynb", include_outputs=True, max_output_length=20, remove_newline=True) NotebookLoader.l...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/notebook.html
03257a0e27ae-1
traceback (bool): whether to include full traceback (default is False). loader.load() [Document(page_content='\'markdown\' cell: \'[\'# Notebook\', \'\', \'This notebook covers how to load data from an .ipynb notebook into a format suitable by LangChain.\']\'\n\n \'code\' cell: \'[\'from langchain.document_loaders impo...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/notebook.html
bf8db77a5bec-0
.ipynb .pdf Modern Treasury Modern Treasury# This notebook covers how to load data from the Modern Treasury REST API into a format that can be ingested into LangChain, along with example usage for vectorization. import os from langchain.document_loaders import ModernTreasuryLoader from langchain.indexes import Vectorst...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/modern_treasury.html
c9600aa13f22-0
.ipynb .pdf Roam Contents 🧑 Instructions for ingesting your own dataset Roam# This notebook covers how to load documents from a Roam database. This takes a lot of inspiration from the example repo here. 🧑 Instructions for ingesting your own dataset# Export your dataset from Roam Research. You can do this by clickin...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/roam.html
b3e1c350fbe7-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 ...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/facebook_chat.html
b3e1c350fbe7-1
previous EverNote next Figma By Harrison Chase © Copyright 2023, Harrison Chase. Last updated on May 02, 2023.
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/facebook_chat.html
48cc304b4242-0
.ipynb .pdf Bilibili Bilibili# This loader utilizes the bilibili-api to fetch the text transcript from Bilibili, one of the most beloved long-form video sites in China. With this BiliBiliLoader, users can easily obtain the transcript of their desired video content on the platform. from langchain.document_loaders.bilibi...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/bilibili.html
9966ab7d3e4f-0
.ipynb .pdf Notion Contents 🧑 Instructions for ingesting your own dataset Notion# This notebook covers how to load documents from a Notion database dump. In order to get this notion dump, follow these instructions: 🧑 Instructions for ingesting your own dataset# Export your dataset from Notion. You can do this by cl...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/notion.html
71f5aed77551-0
.ipynb .pdf Diffbot Diffbot# This covers how to extract HTML documents from a list of URLs using the Diffbot extract API, into a document format that we can use downstream. urls = [ "https://python.langchain.com/en/latest/index.html", ] The Diffbot Extract API Requires an API token. Once you have it, you can extrac...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/diffbot.html
71f5aed77551-1
[Document(page_content='LangChain is a framework for developing applications powered by language models. We believe that the most powerful and differentiated applications will not only call out to a language model via an API, but will also:\nBe data-aware: connect a language model to other sources of data\nBe agentic: ...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/diffbot.html
71f5aed77551-2
This includes prompt management, prompt optimization, and prompt serialization.\nMemory: Memory is the concept of persisting state between calls of a chain/agent. LangChain provides a standard interface for memory, a collection of memory implementations, and examples of chains/agents that use memory.\nIndexes: Language...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/diffbot.html
71f5aed77551-3
ways. LangChain also provides guidance and assistance in this. Below are some of the common use cases LangChain supports.\nPersonal Assistants: The main LangChain use case. Personal assistants need to take actions, remember interactions, and have knowledge about your data.\nQuestion Answering: The second big LangChain ...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/diffbot.html
71f5aed77551-4
type of Data Augmented Generation.\nEvaluation: Generative models are notoriously hard to evaluate with traditional metrics. One new way of evaluating them is using language models themselves to do the evaluation. LangChain provides some prompts/chains for assisting in this.\nReference Docs\nAll of LangChain’s referenc...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/diffbot.html
71f5aed77551-5
template repositories for deploying LangChain apps.\nTracing: A guide on using tracing in LangChain to visualize the execution of chains and agents.\nModel Laboratory: Experimenting with different prompts, models, and chains is a big part of developing the best possible application. The ModelLaboratory makes it easy to...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/diffbot.html
71f5aed77551-6
previous DataFrame Loader next Directory Loader By Harrison Chase © Copyright 2023, Harrison Chase. Last updated on May 02, 2023.
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/diffbot.html
9c3d3625b15e-0
.ipynb .pdf Email Contents Using Unstructured Retain Elements Using OutlookMessageLoader Email# This notebook shows how to load email (.eml) and Microsoft Outlook (.msg) files. Using Unstructured# from langchain.document_loaders import UnstructuredEmailLoader loader = UnstructuredEmailLoader('example_data/fake-email....
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/email.html
9c3d3625b15e-1
previous DuckDB Loader next EPubs Contents Using Unstructured Retain Elements Using OutlookMessageLoader By Harrison Chase © Copyright 2023, Harrison Chase. Last updated on May 02, 2023.
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/email.html
7c3cfe58b5f4-0
.ipynb .pdf WhatsApp Chat WhatsApp Chat# This notebook covers how to load data from the WhatsApp Chats into a format that can be ingested into LangChain. from langchain.document_loaders import WhatsAppChatLoader loader = WhatsAppChatLoader("example_data/whatsapp_chat.txt") loader.load() previous Web Base next Word Docu...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/whatsapp_chat.html
52ecfd4226e5-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...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/image.html
52ecfd4226e5-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) h...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/image.html
52ecfd4226e5-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\nlightwei...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/image.html
52ecfd4226e5-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() dat...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/image.html
2c4ac9d19108-0
.ipynb .pdf Blackboard Blackboard# This covers how to load data from a Blackboard Learn instance. from langchain.document_loaders import BlackboardLoader loader = BlackboardLoader( blackboard_course_url="https://blackboard.example.com/webapps/blackboard/execute/announcement?method=search&context=course_entry&course...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/blackboard.html
84fbd001ea46-0
.ipynb .pdf Slack (Local Exported Zipfile) Contents 🧑 Instructions for ingesting your own dataset Slack (Local Exported Zipfile)# This notebook covers how to load documents from a Zipfile generated from a Slack export. In order to get this Slack export, follow these instructions: 🧑 Instructions for ingesting your o...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/slack_directory.html
93f25e86dc9f-0
.ipynb .pdf s3 File s3 File# This covers how to load document objects from an s3 file object. from langchain.document_loaders import S3FileLoader #!pip install boto3 loader = S3FileLoader("testing-hwc", "fake.docx") loader.load() [Document(page_content='Lorem ipsum dolor sit amet.', lookup_str='', metadata={'source': '...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/s3_file.html
c36f788b6d62-0
.ipynb .pdf EPubs Contents Retain Elements EPubs# This covers how to load .epub documents into a document format that we can use downstream. You’ll need to install the pandocs package for this loader to work. from langchain.document_loaders import UnstructuredEPubLoader loader = UnstructuredEPubLoader("winter-sports....
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/epub.html
1accf9389b17-0
.ipynb .pdf BigQuery Loader Contents Basic Usage Specifying Which Columns are Content vs Metadata Adding Source to Metadata BigQuery Loader# Load a BigQuery query with one document per row. from langchain.document_loaders import BigQueryLoader BASE_QUERY = ''' SELECT id, dna_sequence, organism FROM ( SELECT ...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/bigquery.html
1accf9389b17-1
Specifying Which Columns are Content vs Metadata# loader = BigQueryLoader(BASE_QUERY, page_content_columns=["dna_sequence", "organism"], metadata_columns=["id"]) data = loader.load() print(data) [Document(page_content='dna_sequence: ATTCGA\norganism: Lokiarchaeum sp. (strain GC14_75).', lookup_str='', metadata={'id': 1...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/bigquery.html
1accf9389b17-2
data = loader.load() print(data) [Document(page_content='id: 1\ndna_sequence: ATTCGA\norganism: Lokiarchaeum sp. (strain GC14_75).\nsource: 1', lookup_str='', metadata={'source': 1}, lookup_index=0), Document(page_content='id: 2\ndna_sequence: AGGCGA\norganism: Heimdallarchaeota archaeon (strain LC_2).\nsource: 2', loo...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/bigquery.html
f9ece55963c6-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...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/gutenberg.html
2bc5c47f5129-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 ...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/evernote.html
1abc3e9576c3-0
.ipynb .pdf s3 Directory Contents Specifying a prefix s3 Directory# This covers how to load document objects from an s3 directory object. from langchain.document_loaders import S3DirectoryLoader #!pip install boto3 loader = S3DirectoryLoader("testing-hwc") loader.load() [Document(page_content='Lorem ipsum dolor sit a...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/s3_directory.html
7fd7ef5f663d-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...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/gcs_file.html
b37951fa3d99-0
.ipynb .pdf Notion DB Loader Contents Requirements Setup 1. Create a Notion Table Database 2. Create a Notion Integration 3. Connect the Integration to the Database 4. Get the Database ID Usage Notion DB Loader# NotionDBLoader is a Python class for loading content from a Notion database. It retrieves pages from the d...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/notiondb.html
b37951fa3d99-1
To connect your integration to the database, follow these steps: Open your database in Notion. Click on the three-dot menu icon in the top right corner of the database view. Click on the “+ New integration” button. Find your integration, you may need to start typing its name in the search box. Click on the “Connect” bu...
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/notiondb.html
b37951fa3d99-2
Requirements Setup 1. Create a Notion Table Database 2. Create a Notion Integration 3. Connect the Integration to the Database 4. Get the Database ID Usage By Harrison Chase © Copyright 2023, Harrison Chase. Last updated on May 02, 2023.
https://python.langchain.com/en/latest/modules/indexes/document_loaders/examples/notiondb.html