Load Guru knowledge base cards into LlamaIndex
Guru Loader is a LlamaIndex reader that loads documents and cards from Guru knowledge bases using username and API key authentication.
Why it matters
Import and synchronize documentation and knowledge base content from Guru into LlamaIndex for retrieval-augmented generation and semantic search applications.
Outcomes
What it gets done
Authenticate to Guru using username and API key credentials
Load all documents from specified Guru collection IDs
Retrieve specific knowledge cards by their unique card IDs
Transform Guru content into LlamaIndex document format
Install
Add it to your toolbox
Run in your project directory:
curl -fsSL https://spark.entire.vc/get/li-reader-readers-guru | bash Overview
Guru Loader
Guru Loader is a LlamaIndex reader integration that connects to Guru knowledge management platforms via API. It retrieves documents from Guru collections or individual cards using username and API key authentication. Use Guru Loader when you need to load data from Guru into LlamaIndex. You can load all documents within specific collections or retrieve specific cards by their IDs.
What it does
Guru Loader is a data reader integration for LlamaIndex that connects to Guru knowledge management platforms. It retrieves documents from Guru collections and individual cards using API authentication.
When to use - and when NOT to
Use Guru Loader when you need to load data from Guru into LlamaIndex. You can load all documents within specific collections or retrieve specific cards by their IDs.
Do not use this loader if you don't have API access credentials, as it requires an API key generated from the Guru admin portal, not your regular password.
Inputs and outputs
You provide your Guru username and an API key created from the admin tab of the Guru portal. You can specify either collection IDs to load all documents within specific collections, or individual card IDs to retrieve specific cards.
The loader returns documents from your specified Guru collections or cards.
Integrations
Guru Loader integrates with Guru (getguru.com). It is designed to be used as a way to load data into LlamaIndex.
Installation:
pip install llama-index-readers-guru
Usage example:
from llama_index.readers.guru import 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>"])
Who it's for
Guru Loader is for users who need to load data from Guru into LlamaIndex.
Source README
Guru Loader
pip install llama-index-readers-guru
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.readers.guru import 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.
FAQ
Common questions
Discussion
Questions & comments · 0
Sign In Sign in to leave a comment.