llama-index readers azure devops integration
Project description
LlamaIndex Readers Integration: Azure Devops
pip install llama-index-readers-azure-devops
The Azure Devops readers package enables you to read files from your azure devops repositories
The reader will require a personal access token (which you can generate under your account settings).
Usage
This reader will read through a repo, with options to specifically filter directories and file extensions.
Here is an example of how to use it
from llama_index.readers.azure_devops import AzureDevopsReader
az_devops_loader = AzureDevopsLoader(
access_token="<your-access-token>",
organization_name="<organization-name>",
project_name="<project-name>",
repo="<repository-name>",
file_filter=lambda file_path: file_path.endswith(".py"),
) # Optional: you can provide any callable that returns a boolean to filter files of your choice
documents = az_devops_loader.load_data(
folder="<folder-path>", # The folder to load documents from, defaults to root.
branch="<branch-name>",
) # The branch to load documents from, defaults to head of the repo
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file llama_index_readers_azure_devops-0.3.0.tar.gz
.
File metadata
- Download URL: llama_index_readers_azure_devops-0.3.0.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.11.10 Darwin/22.3.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f804516a5e2265e9b4ad0910eeb77459648b3877d119e995f90849587ce4fa2b |
|
MD5 | 173a3d731720e356e69714eb427e8d4f |
|
BLAKE2b-256 | fa18a797209a4bc1c7a5f6eed50efb3d0e69e2fc3a73aac4e31dcde51665a2f4 |
File details
Details for the file llama_index_readers_azure_devops-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: llama_index_readers_azure_devops-0.3.0-py3-none-any.whl
- Upload date:
- Size: 4.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.11.10 Darwin/22.3.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | eff5c4c6e7644680a7852fcb8ed2912c4228235faced248fc561770edf8de80c |
|
MD5 | ef806db4cdaba7c4ae686364b72a8534 |
|
BLAKE2b-256 | c2a26b6e666b35252109439e2094734e3fa5d7c4d7dda9934d700ccfcd00a394 |