Skip to main content

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


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

File hashes

Hashes for llama_index_readers_azure_devops-0.3.0.tar.gz
Algorithm Hash digest
SHA256 f804516a5e2265e9b4ad0910eeb77459648b3877d119e995f90849587ce4fa2b
MD5 173a3d731720e356e69714eb427e8d4f
BLAKE2b-256 fa18a797209a4bc1c7a5f6eed50efb3d0e69e2fc3a73aac4e31dcde51665a2f4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for llama_index_readers_azure_devops-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 eff5c4c6e7644680a7852fcb8ed2912c4228235faced248fc561770edf8de80c
MD5 ef806db4cdaba7c4ae686364b72a8534
BLAKE2b-256 c2a26b6e666b35252109439e2094734e3fa5d7c4d7dda9934d700ccfcd00a394

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