Files
langchain/docs/modules/document_loaders/examples/gutenberg.ipynb
T
2023-02-08 12:00:47 -08:00

1.5 KiB

Gutenberg

This covers how to load links to Gutenberg e-books into a document format that we can use downstream.

In [1]:
from langchain.document_loaders import GutenbergLoader
In [6]:
loader = GutenbergLoader('https://www.gutenberg.org/cache/epub/69972/pg69972.txt')
In [9]:
data = loader.load()
In [ ]:
data
In [ ]: