Skip to main content

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

llama_index_readers_gpt_repo-0.4.1.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

llama_index_readers_gpt_repo-0.4.1-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file llama_index_readers_gpt_repo-0.4.1.tar.gz.

File metadata

File hashes

Hashes for llama_index_readers_gpt_repo-0.4.1.tar.gz
Algorithm Hash digest
SHA256 f344268a04e7200c96414b1163efa9c2171ec17d3c9dc7b55664f2d9a36fce0a
MD5 48be40c17ddba46ac1e29d524412c057
BLAKE2b-256 da00b66b991865e2be9eb47038c55b0f0f5f17b051baf54130fa9e3292b91bd6

See more details on using hashes here.

File details

Details for the file llama_index_readers_gpt_repo-0.4.1-py3-none-any.whl.

File metadata

File hashes

Hashes for llama_index_readers_gpt_repo-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5bb64a49590c6561ddae02235f634adef3567f33f82d2fb5e43834e6d8d19a8c
MD5 319455426ab15da87a16066ae51e49ce
BLAKE2b-256 fba0ebfafcb06b57cc87b74f61d7226fe10def4a8ef5de5ed3b8c53411ab7285

See more details on using hashes here.

Supported by

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