llama-hub/loader_hub/mangoapps_guides
Mit Shah 54120c5ef0
Fix requirements.txt for mangoapps_guides plugin. (#259)
Co-authored-by: Siddhartha Mukherjee <siddhartham@mangoapps.com>
2023-05-15 16:27:16 -04:00
..
2023-05-14 00:18:37 -04:00
2023-05-14 00:18:37 -04:00
2023-05-14 00:18:37 -04:00

MangoppsGuides Loader

This loader fetches the text from Mangopps Guides.

Usage

To use this loader, you need to pass base url of the MangoppsGuides installation (e.g. https://guides.mangoapps.com/) and the limit , i.e. max number of links it should crawl

from llama_index import download_loader

MangoppsGuidesReader = download_loader("MangoppsGuidesReader")

loader = MangoppsGuidesReader()
documents = loader.load_data( domain_url="https://guides.mangoapps.com", limit=1 )

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.