{"id":17449511,"url":"https://github.com/jplane/azdo-llm","last_synced_at":"2025-03-28T04:22:54.074Z","repository":{"id":211207825,"uuid":"728495826","full_name":"jplane/azdo-llm","owner":"jplane","description":null,"archived":false,"fork":false,"pushed_at":"2024-01-03T20:47:38.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-02T05:25:35.428Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jplane.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-12-07T04:04:54.000Z","updated_at":"2023-12-07T04:05:01.000Z","dependencies_parsed_at":"2023-12-07T05:24:33.411Z","dependency_job_id":"80ec1ff7-9ded-4f11-91c3-f19ab76bfdaf","html_url":"https://github.com/jplane/azdo-llm","commit_stats":null,"previous_names":["jplane/azdo-llm"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jplane%2Fazdo-llm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jplane%2Fazdo-llm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jplane%2Fazdo-llm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jplane%2Fazdo-llm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jplane","download_url":"https://codeload.github.com/jplane/azdo-llm/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245967625,"owners_count":20701875,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-17T21:41:59.101Z","updated_at":"2025-03-28T04:22:54.033Z","avatar_url":"https://github.com/jplane.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Querying Azure Devops with OpenAI\n\nThis repo demonstrates how to query AzDO content using [Langchain integration with Azure OpenAI](https://python.langchain.com/docs/integrations/chat/azure_chat_openai).\n\nSpecifically, it defines custom [document loaders](https://python.langchain.com/docs/modules/data_connection/document_loaders/) for [user stories](./AzdoBacklogLoader.py) and [pull requests](./AzdoPullRequestLoader.py) to facilitate Q\u0026A like:\n\n```\nWhat is the title and owner of the most recently completed user story?\n```\n```\nSummarize Alice's comments on Bob's PR for work item 234.\n```\n\n_Note the techniques demonstrated in this repo are generalized and should be refined for specific use cases._\n\n## Requirements\n\n- Access to an AzDO project and [personal access token](https://learn.microsoft.com/en-us/azure/devops/organizations/accounts/use-personal-access-tokens-to-authenticate)\n\n- An [Azure OpenAI Service](https://learn.microsoft.com/en-us/azure/ai-services/openai/overview) instance\n\n- A deployed [embeddings model](https://learn.microsoft.com/en-us/azure/ai-services/openai/concepts/models#embeddings)\n\n- A deployed [GPT model](https://learn.microsoft.com/en-us/azure/ai-services/openai/concepts/models#gpt-4-and-gpt-4-turbo-preview) (3.5 or 4)\n\n- [Visual Studio Code](https://code.visualstudio.com/) and [Docker Desktop](https://www.docker.com/products/docker-desktop/) for devcontainer support\n\n## Getting Started\n\n- Clone this repo and open VS Code in the repo root folder. When prompted, re-open as a devcontainer\n\n- In [main.ipynb](./main.ipynb) add your Azure OpenAI endpoint and key, as well as the names of your embeddings and GPT model deployments\n\n- Also in [main.ipynb](./main.ipynb) add your AzDO URI, PAT, and project name\n\n- In the last notebook cell, update the query as warranted for your use case\n\n- Run all cells and observe the results\n\n- Iterate on the query to coax relevant and accurate responses out of Azure OpenAI","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjplane%2Fazdo-llm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjplane%2Fazdo-llm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjplane%2Fazdo-llm/lists"}