mirror of
https://github.com/langchain-ai/langchain.git
synced 2026-10-05 09:25:14 +03:00
3.2 KiB
3.2 KiB
In [1]:
from langchain.document_loaders import CoNLLULoaderIn [2]:
loader = CoNLLULoader("example_data/conllu.conllu")In [3]:
document = loader.load()In [4]:
documentOut [4]:
[Document(page_content='They buy and sell books.', metadata={'source': 'example_data/conllu.conllu'})]