mirror of
https://github.com/run-llama/llama-hub.git
synced 2025-08-14 11:41:56 +00:00
DadJoke Loader
This loader fetches a joke from icanhazdadjoke.
Usage
To use this loader, load it.
from llama_index import download_loader
DadJokesReader = download_loader("DadJokesReader")
loader = DadJokesReader()
documents = loader.load_data()
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.