Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
95 commits
Select commit Hold shift + click to select a range
ef2bd10
Changes for azure-ai-projects release v2.0.1
dargilco Mar 6, 2026
38e2bfe
x
dargilco Mar 6, 2026
95df964
Set beta version
dargilco Mar 6, 2026
d04d08b
Re-emit
dargilco Mar 9, 2026
06c4c26
fix
dargilco Mar 9, 2026
86d53c5
Rename env varrs name
howieleung Mar 10, 2026
67a8d79
Revert "Rename env varrs name"
howieleung Mar 10, 2026
c357ed8
Better Exception messages when you try to use preview features, and "…
dargilco Mar 10, 2026
7602ddb
marking finetuning pause and resume operations as live extended tests…
jayesh-tanna Mar 10, 2026
c2e7e57
Rename env vars (#45599)
howieleung Mar 10, 2026
c497c29
Add CSV and synthetic data generation evaluation samples (#45603)
aprilk-ms Mar 11, 2026
db3ea9d
Fix azure-ai-projects linting errors with pylint version 4.0.5 (#45628)
dargilco Mar 11, 2026
cb4ef7b
Re-emit from latest TypeSpec in branch `feature/foundry-staging` (#45…
dargilco Mar 12, 2026
c15af4f
Merge remote-tracking branch 'origin/main' into feature/azure-ai-proj…
dargilco Mar 12, 2026
090b923
Remove
dargilco Mar 12, 2026
d27b152
Update project status to Production/Stable
dargilco Mar 13, 2026
b70d349
Classes `UpdateMemoriesLROPollingMethod` and `AsyncUpdateMemoriesLROP…
dargilco Mar 13, 2026
cb6748f
Unit-tests to make sure "Foundry-Features" HTTP request header is add…
dargilco Mar 16, 2026
902ac13
Merge remote-tracking branch 'origin/main' into feature/azure-ai-proj…
dargilco Mar 17, 2026
bf7b0ad
Re-emit from TypeSpec, with support for api-key auth (#45748)
dargilco Mar 18, 2026
98b8f73
New samples (#45775)
howieleung Mar 18, 2026
8cb669a
Merge remote-tracking branch 'origin/main' into feature/azure-ai-proj…
dargilco Mar 19, 2026
ed5cba5
Fix missing IntelliSense from returned OpenAI client (#45800)
dargilco Mar 19, 2026
822c347
Merge remote-tracking branch 'origin/main' into feature/azure-ai-proj…
dargilco Mar 19, 2026
3b48acd
LLM validation use 5.2 and chat completion (#45816)
howieleung Mar 20, 2026
aa8f213
update .env.template
howieleung Mar 20, 2026
2dcb2c1
Merge branch 'feature/azure-ai-projects/2.0.2' of https://github.com/…
howieleung Mar 20, 2026
54b2815
Merge remote-tracking branch 'origin/main' into feature/azure-ai-proj…
dargilco Mar 23, 2026
e6c5933
making trace context propagation enabled by default (#45830)
M-Hietala Mar 23, 2026
8dc5bb8
Custom Eval - Upload (#45678)
w-javed Mar 23, 2026
2ad4c44
added toolset samples and more (#45832)
howieleung Mar 23, 2026
efd8570
Fix failing unit-tests "test_foundry_features_header" and failing qua…
dargilco Mar 23, 2026
b035800
Fix pyright and pylint errors in evaluator upload operations (#45867)
w-javed Mar 24, 2026
d948b5f
A better way to handle removing "foundry_features" input argument fro…
dargilco Mar 24, 2026
89c796b
Another minor round of updates, after using new Python emitter (dev b…
dargilco Mar 25, 2026
07c3321
Merge remote-tracking branch 'origin/main' into feature/azure-ai-proj…
dargilco Mar 25, 2026
ba32dd5
Re-emit from latest TypeSpec in branch feature/foundry-staging (#45924)
dargilco Mar 26, 2026
002b4f1
Revert some api-key related changes that were not supposed to be comm…
dargilco Mar 26, 2026
25a0a7a
disabling test that fail with pydantic beta version (#45912)
M-Hietala Mar 26, 2026
1e49fd5
Add underscore to FoundryFeaturesOptInKeys and AgentDefinitionOptInKe…
dargilco Mar 26, 2026
39fb228
Configurations: 'specification/ai-foundry/data-plane/Foundry/tspconf…
azure-sdk Mar 26, 2026
af45442
Revert "Configurations: 'specification/ai-foundry/data-plane/Foundry…
dargilco Mar 26, 2026
072a40c
Merge branch 'main' into feature/azure-ai-projects/2.0.2
dargilco Mar 26, 2026
4fbde2d
Merge remote-tracking branch 'origin/main' into feature/azure-ai-proj…
dargilco Mar 31, 2026
edad182
update asserts.json, to try and fix datasets tests
dargilco Mar 31, 2026
f225c21
try again
dargilco Mar 31, 2026
9ca0be2
Disable dataset tests. I spent enough time trying to fix recording is…
dargilco Mar 31, 2026
e043089
Merge branch 'main' into feature/azure-ai-projects/2.0.2
dargilco Mar 31, 2026
de2928b
Custom eval sample fix (#45989)
w-javed Mar 31, 2026
07fea08
Instruction now not provided in test function. (#46028)
howieleung Apr 1, 2026
56701b1
llm-analyze.py (#46042)
howieleung Apr 1, 2026
5e68a09
Remove un-needed command in our post-emitter-fixes.cmd file
dargilco Apr 1, 2026
a1fae61
add comments to post-emitter-fixes.cmd
dargilco Apr 2, 2026
8941cad
Fix doc string for get_openai_client
dargilco Apr 2, 2026
2d0bb93
fix(azure-ai-projects): skip all dot-prefixed directories in evaluato…
w-javed Apr 2, 2026
b29a495
run 'black'
dargilco Apr 3, 2026
0d1b882
Simplify memory samples following service-side change (#46111)
dargilco Apr 3, 2026
04806e9
Merge remote-tracking branch 'origin/main' into feature/azure-ai-proj…
dargilco Apr 3, 2026
a3b2a9d
Merge remote-tracking branch 'origin/main' into feature/azure-ai-proj…
dargilco Apr 6, 2026
22d5f98
Re-emit from TypeSpec Monday morning 4/6 (#46148)
dargilco Apr 6, 2026
efcda00
Update Friendly Evaluator (#46076)
w-javed Apr 6, 2026
38fd74b
Re-emit, this time with all new routes (#46162)
dargilco Apr 7, 2026
e3d7ad9
save tsp-location.yaml
dargilco Apr 7, 2026
2e683f3
Re-emit from latest TypeSpec, using short method names
dargilco Apr 7, 2026
7b1fed3
Fix sample
dargilco Apr 7, 2026
8a1657a
update exception comment
dargilco Apr 7, 2026
6bfd1e8
Fix failing tests
dargilco Apr 7, 2026
088dc59
Merge branch 'main' into feature/azure-ai-projects/2.0.2
dargilco Apr 7, 2026
b9b61ed
update tsp-location.yaml
dargilco Apr 7, 2026
c58b6ba
Merge remote-tracking branch 'origin/main' into feature/azure-ai-proj…
dargilco Apr 7, 2026
9149bf5
Re-emit, after removing Agent Invocation operations
dargilco Apr 7, 2026
1a44b3c
Re-emit
dargilco Apr 7, 2026
73decbc
Better typing hints for OpenAI .eval calls (#45939)
dargilco Apr 7, 2026
f943ce5
Emit from TypeSpec to create a new ".beta.agents" subclient (#46193)
dargilco Apr 8, 2026
b630583
Fix doc string for api-key
dargilco Apr 8, 2026
1f52992
Re-emit from TypeSpec, to take zip fix from Linda for Sessions operat…
dargilco Apr 8, 2026
ef4e1fa
Rollback evaluators Upload API (#46215)
w-javed Apr 9, 2026
7746c91
Re-emit from TypeSpec
dargilco Apr 9, 2026
ce0074b
Update get_openai_client() with preview option to return Agent Endpoi…
dargilco Apr 9, 2026
abb6325
update change log
dargilco Apr 9, 2026
3a7ce0d
Merge remote-tracking branch 'origin/main' into feature/azure-ai-proj…
dargilco Apr 9, 2026
5ba3ff7
Re-emit, and add patch upload_session_file method to support file or …
dargilco Apr 10, 2026
ab75a8e
Re-emit from TypeSpec to remove Managed Identity Blueprint operations
dargilco Apr 10, 2026
9e77651
Pranav's changes to make Session sample work (#46204)
dargilco Apr 14, 2026
caedb1d
rename tsp location
howieleung Apr 14, 2026
7f0eb84
clean up
howieleung Apr 15, 2026
c5bc595
resolved api review and added session logging
howieleung Apr 16, 2026
223cb73
update
howieleung Apr 16, 2026
62eb6ca
update
howieleung Apr 16, 2026
f990eb7
update
howieleung Apr 16, 2026
08a4484
missing update
howieleung Apr 17, 2026
6888401
update date
howieleung Apr 17, 2026
b4642ab
update commit
howieleung Apr 17, 2026
e2b1b19
Merge remote-tracking branch 'origin/main' into feature/azure-ai-proj…
howieleung Apr 17, 2026
f069d5e
update readme
howieleung Apr 17, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions sdk/ai/azure-ai-projects/.env.template
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,11 @@ AZURE_AI_PROJECTS_CONSOLE_LOGGING=

# Project endpoint has the format:
# `https://<your-ai-services-account-name>.services.ai.azure.com/api/projects/<your-project-name>`
AZURE_AI_PROJECT_ENDPOINT=
AZURE_AI_MODEL_DEPLOYMENT_NAME=
AZURE_AI_AGENT_NAME=
FOUNDRY_PROJECT_ENDPOINT=
FOUNDRY_PROJECT_API_KEY=
FOUNDRY_MODEL_NAME=
FOUNDRY_AGENT_NAME=
FOUNDRY_AGENT_CONTAINER_IMAGE=
CONVERSATION_ID=
CONNECTION_NAME=
MEMORY_STORE_CHAT_MODEL_DEPLOYMENT_NAME=
Expand Down Expand Up @@ -65,6 +67,9 @@ PAUSED_FINE_TUNING_JOB_ID=
AZURE_SUBSCRIPTION_ID=
AZURE_RESOURCE_GROUP=

# Used in all samples
LLM_VALIDATION_PROJECT_ENDPOINT=

# Used in Fine-tuning samples
AZURE_AI_PROJECTS_AZURE_SUBSCRIPTION_ID=
AZURE_AI_PROJECTS_AZURE_RESOURCE_GROUP=
Expand Down
75 changes: 73 additions & 2 deletions sdk/ai/azure-ai-projects/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,75 @@
# Release History

## 2.1.0 (2026-04-17)

### Features Added

* `get_openai_client()` on `AIProjectClient` now takes an optional input argument `agent_name`. If provided, the returned OpenAI
client will use a base URL of Agent endpoint instead of Foundry Project endpoint. As Agent endpoints are a preview feature, you
need to set `allow_preview=True` on the `AIProjectClient` constructor.
* New `.beta.agents` sub-client added, with Session operations (those only work with Hosted Agents)
* `create_session()`
* `delete_session()`
* `delete_session_file()`
* `download_session_file()`
* `get_session()`
* `get_session_files()`
* `list_sessions()`
* `upload_session_file()`
* Also on `.beta.agents` sub-client, a new method `patch_agent_details()`.
* New `beta.skills` sub-client added, with Skills operations:
* `create()`
* `create_from_package()`
* `delete()`
* `download()`
* `get()`
* `list()`
* `update()`
* New `beta.toolboxes` sub-client added, with Toolboxes operations:
* `create_version()`
* `delete()`
* `delete_version()`
* `get()`
* `get_version()`
* `list()`
* `list_versions()`
* `update()`
* Type hinting support for OpenAI client operations `.evals.create()` and `.evals.runs.create()`, when you
get the OpenAI client using `get_openai_client()` method of `AIProjectClient`. This includes new TypedDicts
classes to help you author the input to these methods. See new TypedDict classes `ModelSamplingConfigParam`,
`ToolDescriptionParam`, `AzureAIAgentTargetParam`, `AzureAIModelTargetParam`,
`ResponseRetrievalItemGenerationParams`, `AzureAIResponsesEvalRunDataSource`, `AzureAIDataSourceConfig`,
`TargetCompletionEvalRunDataSource`, `TestingCriterionAzureAIEvaluator`, `AzureAIBenchmarkPreviewEvalRunDataSource`,
`EvalCsvFileIdSource`, `EvalCsvRunDataSource`, `RedTeamEvalRunDataSource`, `TracesPreviewEvalRunDataSource`.


### Breaking Changes

* Tracing: trace context propagation is enabled by default when tracing is enabled.

### Bugs Fixed

* Fix missing type hinting on the returned OpenAI client from method 'get_openai_client()`.

### Sample updates

* Evaluation samples updated to use TypedDicts to specify inputs to `.evals.create()` and `.evals.runs.create()` methods.
* Renamed environment variable `AZURE_AI_PROJECT_ENDPOINT` to `FOUNDRY_PROJECT_ENDPOINT` in all samples.
* Renamed environment variable `AZURE_AI_MODEL_DEPLOYMENT_NAME` to `FOUNDRY_MODEL_NAME` in all samples.
* Renamed environment variable `AZURE_AI_MODEL_AGENT_NAME` to `FOUNDRY_AGENT_NAME` in all samples.
Comment thread
dargilco marked this conversation as resolved.
* Added Hosted Agents related samples: `sample_agent_endpoint.py`, `sample_agent_endpoint_async.py`, `sample_sessions_crud.py`, `sample_sessions_crud_async.py`, `sample_sessions_files_upload_download.py`, `sample_sessions_files_upload_download_async.py`, `sample_skills_crud.py`, `sample_skills_crud_async.py`, `sample_skills_upload_and_download.py`, `sample_skills_upload_and_download_async.py`, `sample_toolboxes_crud.py`, and `sample_toolboxes_crud_async.py`.
* Added structured inputs + file upload sample (`sample_agent_structured_inputs_file_upload.py`) demonstrating passing an uploaded file ID to an agent at runtime.
* Added structured inputs + File Search sample (`sample_agent_file_search_structured_inputs.py`) demonstrating configuring File Search tool resources via structured inputs.
* Added structured inputs + Code Interpreter sample (`sample_agent_code_interpreter_structured_inputs.py`) demonstrating passing an uploaded file ID to Code Interpreter via structured inputs.
* Added CSV evaluation sample (`sample_evaluations_builtin_with_csv.py`) demonstrating evaluation with an uploaded CSV dataset.
* Added synthetic data evaluation samples (`sample_synthetic_data_agent_evaluation.py`) and (`sample_synthetic_data_model_evaluation.py`).
* Added Chat Completions basic samples (`sample_chat_completions_basic.py`, `sample_chat_completions_basic_async.py`) demonstrating chat completions calls using `AIProjectClient` + the OpenAI-compatible client.
* Added Toolboxes CRUD samples (`sample_toolboxes_crud.py`, `sample_toolboxes_crud_async.py`) demonstrating `project_client.beta.toolboxes` create/get/update/list/delete.
* Simplified `sample_memory_basic.py` and `sample_agent_memory_search.py` (and their async equivalent) by removing
`options=MemoryStoreDefaultOptions(user_profile_enabled=True, chat_summary_enabled=True)` when constructing `MemoryStoreDefaultDefinition`,
since this is now redundant (it's the service default).


## 2.0.1 (2026-03-12)

### Bugs Fixed
Expand Down Expand Up @@ -44,8 +114,9 @@ to `datetime.datetime` with format="rfc3339".
### Other Changes

* The input `items` argument in the methods `.beta.memory_stores.begin_update_memories()` and `.beta.memory_stores.search_memories`
was change from type `Optional[List[dict[str, Any]]]` to `Optional[Union[str, ResponseInputParam]]`. The class `ResponseInputParam`
can be imported using `from openai.types.responses import EasyInputMessageParam`. This is not a breaking change, since the caller
was changed from type `Optional[List[dict[str, Any]]]` to `Optional[Union[str, ResponseInputParam]]`, where `ResponseInputParam`
is defined in the openai package. This allows passing in, for example, a list of `EasyInputMessageParam`. Import it using
`from openai.types.responses import EasyInputMessageParam`. This is not a breaking change, since the caller
can still pass in `List[dict[str, Any]`.

## 2.0.0b4 (2026-02-24)
Expand Down
Loading