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.3.0.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for llama_index_readers_gpt_repo-0.3.0.tar.gz
Algorithm Hash digest
SHA256 10b38573c47f7bbc7c5b185e96657077debc9c7dc47cd05908de87a36e30f267
MD5 f25f9abe93bd9317798cc7a0b93fb566
BLAKE2b-256 f48f19ad053ad7d649963b1ab367a96b147eea31048292ce95e0400e63c0d0b2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for llama_index_readers_gpt_repo-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 36910cba0ce2f9c69db06ef94a02eaa238b70f2becb9032bb1c07d0784b25ea9
MD5 e225c00c6f461ad99c4d3a6a3af055f4
BLAKE2b-256 d1bb7e40731d25508883f822381647f52cb3a95d45861535a7a36827a5878c86

See more details on using hashes here.

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