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

llama_index_readers_azure_devops-0.1.0.tar.gz (3.8 kB view hashes)

Uploaded Source

Built Distribution

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