Bubu ff1389b3f5
Add Memos loader (#53)
* add memos loader

* handling networking errors and update README

* add keyword

* fix error

* fix

* fix

* Update README.md

* Update README.md

---------

Co-authored-by: Jesse Zhang <jessetanzhang@gmail.com>
2023-02-20 22:21:17 -08:00

870 B

Memos Loader

This loader fetchs text from self-hosted memos.

Usage

To use this loader, you need to specify the host where memos is deployed. If you need to filter, pass the corresponding parameter in load_data.

from llama_index import download_loader

MemosReader = download_loader("MemosReader")
loader = MemosReader("https://demo.usememos.com/")
documents = loader.load_data({"creatorId": 101})

This loader is designed to be used as a way to load data into LlamaIndex and/or subsequently used as a Tool in a LangChain Agent. See here for examples.