Skip to content

AI Foundry SDK - Project Library #45278

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

jayantjha
Copy link
Member

Description

Introducing Azure AI Projects Library for AI Foundry SDK

This PR introduces the first version of the Azure AI Projects client library for Java (azure-ai-projects). This is an initial beta release (1.0.0-beta.1) that provides Java developers with programmatic access to Azure AI Foundry agents. Typespec for the initial SDK can be found here

What's included

  • Initial implementation of core functionality for AI foundry agents

All SDK Contribution checklist:

  • The pull request does not introduce [breaking changes]
  • CHANGELOG is updated for new features, bug fixes or other significant changes.
  • I have read the contribution guidelines.

General Guidelines and Best Practices

  • Title of the pull request is clear and informative.
  • There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

  • Pull request includes test coverage for the included changes.

@jayantjha jayantjha force-pushed the feature/ai-projects-1dp branch from 7abc123 to e67f450 Compare May 9, 2025 13:32
@azure-sdk
Copy link
Collaborator

azure-sdk commented May 9, 2025

API Change Check

APIView identified API level changes in this PR and created the following API reviews

com.azure:azure-ai-projects

@azure-sdk
Copy link
Collaborator

API change check

APIView has identified API level changes in this PR and created following API reviews.

com.azure:azure-ai-projects

@jayantjha jayantjha marked this pull request as ready for review May 9, 2025 14:02
@Copilot Copilot AI review requested due to automatic review settings May 9, 2025 14:02
Copy link
Contributor

@Copilot 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 the initial beta release (1.0.0‑beta.1) of the Azure AI Projects client library for Java, providing programmatic access to Azure AI Foundry agents. Key changes include auto‑generated client implementations for various resources (e.g., RedTeams, Indexes, Evaluations, Deployments, and Connections), corresponding asynchronous clients, and the supporting helper and versioning files.

Reviewed Changes

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

Show a summary per file
File Description
JsonMergePatchHelper.java Helper class enabling JSON merge patch serialization for models.
AIProjectClientImpl.java Main client implementation initializing essential components like HTTP pipeline and serializer.
RedTeamsClient.java / RedTeamsAsyncClient.java Clients for managing RedTeam operations synchronously and asynchronously.
ProjectsServiceVersion.java Enum of supported service versions.
IndexesClient.java / IndexesAsyncClient.java Clients for index management including merge patch support.
EvaluationsClient.java / EvaluationsAsyncClient.java Clients for performing and listing evaluation runs.
DeploymentsClient.java / DeploymentsAsyncClient.java Clients for deployment operations.
ConnectionsClient.java / ConnectionsAsyncClient.java Clients for accessing connection details with or without credentials.
pom.xml, assets.json, README.md, CHANGELOG.md, versioning files Updates to project configuration, versioning, asset metadata, and documentation.

Copy link
Member

@vcolin7 vcolin7 left a comment

Choose a reason for hiding this comment

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

I just had a few general questions:

  1. Was the library fully generated using TypeSpec?
  2. Are tests and samples generated as well or manually written?
  3. Is the reason you didn't add the library's POM to the ci.yml trigger and pr sections because there are no recorded tests yet?
  4. Is the external dependency you are using (com.azure:azure-ai-agentics-persistent) also coming to this repository at some point in the future?

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.

3 participants