Skip to content

Conversation

@achauhan-scc
Copy link
Member

This pull request introduces a new Azure AI Fine Tuning extension for the azd CLI, providing a well-structured foundation for fine-tuning workflows, multi-vendor support, and robust build tooling. The changes include a comprehensive architecture summary, build scripts for multiple platforms, example configuration files for various fine-tuning methods, and initial documentation and metadata.

Extension Architecture and Design:

  • Added a detailed implementation summary in IMPLEMENTATION_SUMMARY.md, outlining the folder structure, interfaces, domain models, provider and service layers, and next steps for development. This document clarifies separation of concerns, import rules, and testability for future contributors.

Build and CI Tooling:

  • Introduced cross-platform build scripts: build.sh (Bash) and build.ps1 (PowerShell) for building the extension binaries for multiple OS/architecture targets, including logic for versioning and commit tracking. Added a CI-specific build script ci-build.ps1 with advanced build flags and code coverage options. [1] [2] [3]

Configuration and Example Files:

  • Added example YAML configuration files for supervised, DPO (Direct Preference Optimization), and reinforcement learning fine-tuning scenarios, demonstrating how to set up and customize jobs for different use cases. [1] [2] [3]

Documentation and Metadata:

  • Created initial documentation files: README.md describing the extension, changelog.md for release history, and extension.yaml defining extension metadata, capabilities, and usage examples for the azd CLI. [1] [2] [3]

These changes lay the groundwork for a scalable, multi-vendor fine-tuning extension, enabling rapid development and future enhancements.

achauhan-scc and others added 8 commits December 24, 2025 10:27
* adding draft for fine tuning

* adding service target

* fixing root command format

* cleaning unused commands and adding operation/sub-operation commands

* adding more details to command

* fixes for relative path

* adding registry entry

* adding git download

* adding 0.0.3

* fixing bug in deploy

* adding printing format

* re-structuring code

* adding 0.0.5

* 0.0.6

* adding low level design details

* fixing ext for build

* adding restructured code

* reverting any registry changes
…ronment and validation utils (#6430)

* initial changes

* Add retry util for exponential backoff with jitter strategy

* Clean-up

* Standardize CLI text to lowercase conventions, and remove redundant error messages

* Address comments

* Add common util for fetch environment variables

* Cosmetic changes

* Cosmetic changes 2

* Fix runtime error

* Fix error message format
* Create command for ft cli

* handling null pointer for state

* removing changes from old converter and yaml logic

* pr review changes + scheme implementation for job params

* a few formatting changes

* removing ofAuto value for hyperparameters

* more formatting changes

* adding command line parameters + formatting

* minor merge fixes
* Adding pipeline scripts

* Adding pipeline scripts

* fixing version path

* fixing build command
* adding init command

* update version
* Adding pipeline scripts

* Adding pipeline scripts

* fixing version path

* fixing build command

* Djurek/test-network-isolation (#6455)

* Update 1es-redirect.yml

* Trivial change to test pipeline

* Show GOPROXY

* Use golang internalModuleProxy

---------

Co-authored-by: Daniel Jurek <[email protected]>
* adding init command

* update version

* cleaning some code
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR introduces a comprehensive Azure AI Fine Tuning extension for the azd CLI, establishing a well-architected foundation for fine-tuning workflows with multi-vendor support. The implementation follows a three-layer architecture (Domain Models, Service Layer, Provider Layer) with clear separation of concerns.

Key Changes:

  • Added complete extension architecture with domain models, services, and provider interfaces
  • Implemented cross-platform build scripts and CI/CD pipeline configuration
  • Included example YAML configurations for supervised, DPO, and reinforcement learning fine-tuning
  • Provided comprehensive architecture documentation and implementation guides

Reviewed changes

Copilot reviewed 41 out of 42 changed files in this pull request and generated no comments.

Show a summary per file
File Description
eng/pipelines/templates/steps/setup-go.yml Added GOPROXY environment variable logging for debugging
eng/pipelines/templates/stages/1es-redirect.yml Enhanced pipeline configuration with golang proxy, network isolation, and SDL controls
eng/pipelines/release-ext-azure-ai-finetune.yml New CI/CD pipeline definition for the extension
cli/azd/extensions/azure.ai.finetune/version.txt Version file for the extension (0.0.6-preview)
cli/azd/extensions/azure.ai.finetune/pkg/models/*.go Domain models for fine-tuning jobs, deployments, errors, and requests
cli/azd/extensions/azure.ai.finetune/internal/utils/*.go Utility functions for time formatting, status display, retry logic, parsing, and environment handling
cli/azd/extensions/azure.ai.finetune/internal/services/*.go Service layer interfaces and implementations for business logic
cli/azd/extensions/azure.ai.finetune/internal/providers/*.go Provider layer with OpenAI and Azure implementations
cli/azd/extensions/azure.ai.finetune/internal/cmd/*.go CLI commands for init, operations, validation, and version
cli/azd/extensions/azure.ai.finetune/main.go Extension entry point
cli/azd/extensions/azure.ai.finetune/go.mod Go module dependencies
cli/azd/extensions/azure.ai.finetune/extension.yaml Extension metadata and configuration
cli/azd/extensions/azure.ai.finetune/examples/*.yaml Example configurations for different fine-tuning methods
cli/azd/extensions/azure.ai.finetune/design/*.md Architecture documentation and implementation summary
cli/azd/extensions/azure.ai.finetune/build.* Cross-platform build scripts
cli/azd/extensions/azure.ai.finetune/ci-build.ps1 CI-specific build script with advanced flags
cli/azd/extensions/azure.ai.finetune/changelog.md Release history
cli/azd/extensions/azure.ai.finetune/README.md Extension documentation

Note: Due to the large scope of this PR with 30+ new files, I've conducted a comprehensive architectural review. The code demonstrates good separation of concerns and follows the repository's coding standards. All files include proper copyright headers, and the architecture is well-documented.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 41 out of 42 changed files in this pull request and generated 4 comments.

Copy link
Contributor

@wbreza wbreza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great overall - just a few minor comments and questions before approving.

ZubaeyrMSFT and others added 10 commits January 9, 2026 09:54
* Updating parseGithubUrl func

* updating resource prompt logic

* copilot suggestion to remove unused variable

Co-authored-by: Copilot <[email protected]>

* gh copilot suggestion

Co-authored-by: Copilot <[email protected]>

---------

Co-authored-by: Copilot <[email protected]>
* adding init command

* update version

* cleaning some code

* updating readme
* adding init command

* update version

* cleaning some code

* updating readme

* allowing fine tuning routes to be overriden by envrionment variables
* adding init command

* update version

* cleaning some code

* updating readme

* allowing fine tuning routes to be overriden by envrionment variables

* fixing spell check issues
@JeffreyCA
Copy link
Contributor

@microsoft-github-policy-service rerun

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 42 out of 43 changed files in this pull request and generated no new comments.

@rajeshkamal5050
Copy link
Contributor

/check-enforcer override

@achauhan-scc achauhan-scc merged commit a86b5ca into main Jan 10, 2026
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants