Find answers from the community

Updated last year

Lamgchain

Quick question. Can you use a langchain loader as a llama index loader? If not, what modification are needed for a valid langchain to llama index conversion?
L
e
2 comments
You can! You just have to convert the langchain document objects to our format

Plain Text
from llama_index import Document

document = Document.from_langchain_format(lc_document)
@Logan M many thanks
Add a reply
Sign up and join the conversation on Discord