Skip to main content

llama-index readers guru integration

Project description

Guru Loader

This loader loads documents from Guru. The user specifies a username and api key to initialize the GuruReader.

Note this is not your password. You need to create a new api key in the admin tab of the portal.

Usage

Here's an example usage of the GuruReader.

from llama_index import download_loader

GuruReader = download_loader("GuruReader")

reader = GuruReader(username="<GURU_USERNAME>", api_key="<GURU_API_KEY>")

# Load all documents in a collection
documents = reader.load_data(
    collection_ids=["<COLLECTION_ID_1>", "<COLLECTION_ID_2>"]
)

# Load specific cards by card id
documents = reader.load_data(card_ids=["<CARD_ID_1>", "<CARD_ID_2>"])

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

llama_index_readers_guru-0.1.3.tar.gz (3.5 kB view hashes)

Uploaded Source

Built Distribution

llama_index_readers_guru-0.1.3-py3-none-any.whl (3.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page