github Azure/azure-sdk-for-java com.azure+azure-ai-projects_2.6.0

latest releases: com.azure.cosmos.kafka+azure-cosmos-kafka-connect_2.12.0, com.azure+azure-cosmos-test_1.0.0-beta.21, com.azure.cosmos.spark+azure-cosmos-spark_4-1_2-13_4.50.0...
4 hours ago

2.6.0 (2026-09-22)

Features Added

  • Added trace filtering and sampling controls for preview data generation jobs. TracesDataGenerationJobSource.setTraceIds(List<String>) selects explicit trace IDs, while TracesDataGenerationJobOptions.setMaxSamples(Integer) optionally limits the number of generated samples; omitting the limit disables sampling.
  • Added DataGenerationJobOutputOptions.setWriteMode(DataGenerationJobOutputWriteMode) to control how generated dataset outputs are written. OVERWRITE creates the next dataset version from newly generated rows, while MERGE combines new rows with the latest dataset version and de-duplicates trace rows for trace-based evaluation jobs.

Breaking Changes

  • Data generation sample limits are now scenario-specific instead of being defined on DataGenerationJobOptions. DataGenerationJobOptions(int) was replaced by DataGenerationJobOptions() and its getMaxSamples() method was removed. TracesDataGenerationJobOptions(int) was replaced by a no-argument constructor and optional Integer-based getMaxSamples() / setMaxSamples(Integer) methods. SimulationSeedDataGenerationJobOptions(int) was replaced by a no-argument constructor and no longer accepts a sample limit. SimpleQnADataGenerationJobOptions and ToolUseFineTuningDataGenerationJobOptions continue to require maxSamples in their constructors.

Other Changes

  • Regenerated client from the updated TypeSpec specification.
  • Updated the azure-ai-agents dependency to version 2.6.0.

Don't miss a new azure-sdk-for-java release

NewReleases is sending notifications on new releases.