llama-index readers gpt_repo integration
Project description
GPT Repository Loader
pip install llama-index-readers-gpt-repo
This loader is an adaptation of https://github.com/mpoon/gpt-repository-loader to LlamaIndex. Full credit goes to mpoon for coming up with this!
Usage
To use this loader, you need to pass in a path to a local Git repository
from llama_index.readers.gpt_repo import GPTRepoReader
loader = GPTRepoReader()
documents = loader.load_data(
repo_path="/path/to/git/repo",
preamble_str="<text to put at beginning of Document>",
)
This loader is designed to be used as a way to load data into LlamaIndex.
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
Built Distribution
File details
Details for the file llama_index_readers_gpt_repo-0.3.0.tar.gz
.
File metadata
- Download URL: llama_index_readers_gpt_repo-0.3.0.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.11.10 Darwin/22.3.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 10b38573c47f7bbc7c5b185e96657077debc9c7dc47cd05908de87a36e30f267 |
|
MD5 | f25f9abe93bd9317798cc7a0b93fb566 |
|
BLAKE2b-256 | f48f19ad053ad7d649963b1ab367a96b147eea31048292ce95e0400e63c0d0b2 |
File details
Details for the file llama_index_readers_gpt_repo-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: llama_index_readers_gpt_repo-0.3.0-py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.11.10 Darwin/22.3.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 36910cba0ce2f9c69db06ef94a02eaa238b70f2becb9032bb1c07d0784b25ea9 |
|
MD5 | e225c00c6f461ad99c4d3a6a3af055f4 |
|
BLAKE2b-256 | d1bb7e40731d25508883f822381647f52cb3a95d45861535a7a36827a5878c86 |