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
Close
Hashes for llama_index_readers_azure_devops-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 871812221bf3c32a89f6b19a32628502e9b63faff255425873d0a0f73ff2f415 |
|
MD5 | bd887cd5092cc120a35a463cf013d5fe |
|
BLAKE2b-256 | bca628c2b62c816a6008df03790980a1bf4743cb5ad14dec733082d8dd117b04 |
Close
Hashes for llama_index_readers_azure_devops-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ceca135e779423bb28c4cbfb07739e6b0d20fc292b8b2d76d11a6f97272e7eda |
|
MD5 | e06a070bf804bb21d175a4afd8da546e |
|
BLAKE2b-256 | 430bd47d782c5314081fa97e73516a04e866967a0b4c8a1d0170d38314d86c61 |