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.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.4.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.4.0.tar.gz.

File metadata

File hashes

Hashes for llama_index_readers_gpt_repo-0.4.0.tar.gz
Algorithm Hash digest
SHA256 a9101d0302d4d7fa544bdbb5ea621396082b296fc346a0d06faa786245462021
MD5 74be106d29e097b874103ec0b4c6e2f7
BLAKE2b-256 50634cb86dbcc98d3fedc341cdb5b716e4b866d736554e3a717387e4eb9d614a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for llama_index_readers_gpt_repo-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2b4713d01c0b3f3039a5dcdb8912a41739bbf0ef0aadfa2bc5ee701427db4973
MD5 54e087b5acb970e4b5e6dc8c36d4f823
BLAKE2b-256 361726e79748373aa633c24f52ffd539a9088f8da8429cbc1309d79fe06f6ee6

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