llama-index-readers-gpt-repo


Namellama-index-readers-gpt-repo JSON
Version 0.2.0 PyPI version JSON
download
home_pageNone
Summaryllama-index readers gpt_repo integration
upload_time2024-08-22 06:12:49
maintainermpoon
docs_urlNone
authorYour Name
requires_python<4.0,>=3.8.1
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # GPT Repository Loader

```bash
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

```python
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](https://github.com/run-llama/llama_index/).

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "llama-index-readers-gpt-repo",
    "maintainer": "mpoon",
    "docs_url": null,
    "requires_python": "<4.0,>=3.8.1",
    "maintainer_email": null,
    "keywords": null,
    "author": "Your Name",
    "author_email": "you@example.com",
    "download_url": "https://files.pythonhosted.org/packages/78/5a/b1bb843e82900add1c66aa5a0edfcc7ca00a29184f0f1fe731d6e8c246f2/llama_index_readers_gpt_repo-0.2.0.tar.gz",
    "platform": null,
    "description": "# GPT Repository Loader\n\n```bash\npip install llama-index-readers-gpt-repo\n```\n\nThis loader is an adaptation of https://github.com/mpoon/gpt-repository-loader\nto LlamaIndex. Full credit goes to mpoon for coming up with this!\n\n## Usage\n\nTo use this loader, you need to pass in a path to a local Git repository\n\n```python\nfrom llama_index.readers.gpt_repo import GPTRepoReader\n\nloader = GPTRepoReader()\ndocuments = loader.load_data(\n    repo_path=\"/path/to/git/repo\",\n    preamble_str=\"<text to put at beginning of Document>\",\n)\n```\n\nThis loader is designed to be used as a way to load data into [LlamaIndex](https://github.com/run-llama/llama_index/).\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "llama-index readers gpt_repo integration",
    "version": "0.2.0",
    "project_urls": null,
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9031cdf654b513798b957f177e3a2950a37126773cd96b99ae6fd0110db567b0",
                "md5": "1ab07ef633d1e60b14eb4f79a0bfc2d2",
                "sha256": "5eee57f9144ff93dd993019bc2c9acc74f1ce19496e052f863f14fb738f7a227"
            },
            "downloads": -1,
            "filename": "llama_index_readers_gpt_repo-0.2.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "1ab07ef633d1e60b14eb4f79a0bfc2d2",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.8.1",
            "size": 3939,
            "upload_time": "2024-08-22T06:12:47",
            "upload_time_iso_8601": "2024-08-22T06:12:47.858237Z",
            "url": "https://files.pythonhosted.org/packages/90/31/cdf654b513798b957f177e3a2950a37126773cd96b99ae6fd0110db567b0/llama_index_readers_gpt_repo-0.2.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "785ab1bb843e82900add1c66aa5a0edfcc7ca00a29184f0f1fe731d6e8c246f2",
                "md5": "b8633f77cfad6cc73fba33f07310a38c",
                "sha256": "672300e2fe951bbef24ac5870d17535455e61c12c79245c199b4727787c372fb"
            },
            "downloads": -1,
            "filename": "llama_index_readers_gpt_repo-0.2.0.tar.gz",
            "has_sig": false,
            "md5_digest": "b8633f77cfad6cc73fba33f07310a38c",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.8.1",
            "size": 3632,
            "upload_time": "2024-08-22T06:12:49",
            "upload_time_iso_8601": "2024-08-22T06:12:49.135624Z",
            "url": "https://files.pythonhosted.org/packages/78/5a/b1bb843e82900add1c66aa5a0edfcc7ca00a29184f0f1fe731d6e8c246f2/llama_index_readers_gpt_repo-0.2.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-08-22 06:12:49",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "llama-index-readers-gpt-repo"
}
        
Elapsed time: 0.30083s