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.5.0.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.5.0-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: llama_index_readers_gpt_repo-0.5.0.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for llama_index_readers_gpt_repo-0.5.0.tar.gz
Algorithm Hash digest
SHA256 05381c9042067ab5f01656589514dffee899bae303fc94a3f724f839f2da6d56
MD5 e27f20790c1a7cd262d99dcae535a48b
BLAKE2b-256 862ca6d9ce3f3873d114da2c46ea1348ea03ea4f07bfaf5798d6be03fadc7689

See more details on using hashes here.

File details

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

File metadata

  • Download URL: llama_index_readers_gpt_repo-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 4.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for llama_index_readers_gpt_repo-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fab515fba3b73029bc050b7308b3a5014c8e916637156a5a914e1da95488c01e
MD5 3157ab1e16be432e7157aeee9a8cf60d
BLAKE2b-256 6dbe06b0df34572a0e7c8f11b69299c8ac2fd4e59edc15ec83216fbfd120d401

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